From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C050BA034F; Tue, 1 Mar 2022 02:57:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4505C407FF; Tue, 1 Mar 2022 02:57:07 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 27FB04067B for ; Tue, 1 Mar 2022 02:57:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646099825; x=1677635825; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ihtdGayQOeRzRvjxBHiJbCbbvl0jpSEokKonej6gfm0=; b=U8G/g0o5cLq5PNt7RaBvae9C5NuNsAjFsv+aBwfB8QYVoFiiZnIVxdUA S3r0bb//apKyYrT8Hb0YCi9CE//D3DhzzzaC1P/0sfUgE3WYeKx07yDXA C8sJXU3prmtCilQEZWUL0mAav/wwAHVLIOZz1QWA73cwB5Du7wzD+pNI6 zfFf0b7XisXEnKGAWTUxLdZY91oTFg1Dp3l6dytBF7q1qjRvLEB8TJLss fVkKE4pHESbSOoMcu4TcSsGEVmkjrhQZ0th1ibQI1g+NE1H4KSTVSD5un 2d+UZGAc/aNt3N/pzqNWG3+kzxoHHR6yb4s2fhdCJ7U+UIBUUe2r6YooA Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="253224697" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="253224697" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 17:57:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="534707316" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga007.jf.intel.com with ESMTP; 28 Feb 2022 17:57:03 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 28 Feb 2022 17:57:03 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 28 Feb 2022 17:57:02 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Mon, 28 Feb 2022 17:57:02 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.104) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 28 Feb 2022 17:57:01 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OFNH5d+dYXwQEyFXND2DYxSMQX6vAxGyFRUjPgbLI+iBYPLQHzn2hIxuMh5taj31+gX+ndZWq1Pd2PjlgSXmwBBFR/H4InoDR0j4eUpEGx2q2EodDqpiTBQ0Y8BsdWyTrvDTXGJNKnWwrbCZCM25hmyWMtBSfd4/OsOb1olR+sKXrzeaeU5Ns1dWfzFLyiNwKMFynCLZOhvWmK0hp01eXXJ/QBKo+QjVXWkiPaym/n59yPqwKOvkaqii75WQGXl+8dK5+pecNdZNldKX/sPswpG1D16HiwsuYMyq0KloZfIUmqd9NnpI1PKbsHflB4wYDPeWvAYeRPc9Q5fCMNcJ9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ihtdGayQOeRzRvjxBHiJbCbbvl0jpSEokKonej6gfm0=; b=BmxMVdyUcqneaM9p1ZMHw3abiDNvX9uPCRaUmfvvjGwAs0KQRmaFrxgQpmEIxQ8vfd8h8q6BXtIEoW8oEVFZaFvaEVhYnwY64Qmcco99ID0kyzuwkboj5iEWE2wPOJ24tzo7uAQi8yP20fn0GzZM1vQzYbuOCekI2dCXSNNNydK8/Qt2TNRMrfOfHnyR3GAgTLg7+wWxCNmAn7OE0A1VwicXuk50Lz0OBpC+iIjL4F/ChrKl+RZ5lXyRUovMhCKkerWmIU99kAFhWhititY8dVl1NOHYMKcwmzkQ9a0fJLzj0aOf2FLGwXZATOGaEk1RpV3q2FbZk1rPzZPG06l90Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM5PR11MB1276.namprd11.prod.outlook.com (2603:10b6:3:14::18) by DM6PR11MB3562.namprd11.prod.outlook.com (2603:10b6:5:13f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.25; Tue, 1 Mar 2022 01:56:50 +0000 Received: from DM5PR11MB1276.namprd11.prod.outlook.com ([fe80::7049:b4b:cd96:98ea]) by DM5PR11MB1276.namprd11.prod.outlook.com ([fe80::7049:b4b:cd96:98ea%3]) with mapi id 15.20.5017.027; Tue, 1 Mar 2022 01:56:50 +0000 From: "Han, YingyaX" To: Honnappa Nagarahalli , "dev@dpdk.org" , "Tu, Lijuan" , "juraj.linkes@pantheon.tech" , "ohilyard@iol.unh.edu" , "david.marchand@redhat.com" , "thomas@monjalon.net" , "jerinj@marvell.com" , "Richardson, Bruce" , "stephen@networkplumber.org" , "bluca@debian.org" , "ktraynor@redhat.com" , "christian.ehrhardt@canonical.com" , "xuemingl@nvidia.com" CC: "kathleen.capella@arm.com" , "nd@arm.com" , Ruifeng Wang Subject: RE: [PATCH v3 1/2] examples/l3fwd: use single set of variables throughout the code Thread-Topic: [PATCH v3 1/2] examples/l3fwd: use single set of variables throughout the code Thread-Index: AQHYKHwExj2bPqT7xUu/tdYndIoLcaypzhbQ Date: Tue, 1 Mar 2022 01:56:50 +0000 Message-ID: References: <20220202060403.118301-1-honnappa.nagarahalli@arm.com> <20220223060931.2661907-1-honnappa.nagarahalli@arm.com> In-Reply-To: <20220223060931.2661907-1-honnappa.nagarahalli@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6d57b796-661a-4565-8474-08d9fb26c06e x-ms-traffictypediagnostic: DM6PR11MB3562:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DZ8i2AIGEKN/76MjwnWDa8HcG8+BCJtUm79QzHundMOSL1HK9F4RGjvi5jxFYOryd1CCtuBqal7X8cQeH9NuQlEXDOsQNDtKCPLunxNWuSsDWvKhDQfILdlo9P4qblscZkGWkKLlyMykjQbmE93rj6SXdmniffxrbs8mGjPE6ydFmhXLh6LvBnMXZCWa/la9U+phozBLlY4XLupSxPG52+TMhlSXvAcL+hWWcHk3KxmdvrscSV3zWsA81RKB6bm/+oYzJkRAQ6Le8DMrMGLwHDCuWBasnCQ0xIPszIxhWyQ9RWs0ML4FN+3cEN1ZEmVCpaFMgPvaTdYfLkw2QaneaLryXHYvzTSSir4yIxARdekhzuA05iGdVCcQmIgFjsVgjAbKLDq8+NbSCT+31WAdyRwc+Z4yNQRabn5gUB4cD3bJ6FVA03v8GwxmzzDWSj11J/BO6ypY0A10QC284AztLWibs7lB9izwt0p8MY1pp1BdMCPaqWRO/00c2BEWFJE6ZiC4i9+4TRWO+OgOBeERWV8XbcagTHArsWl3zOGvYlFe7/dMCkDrqCf90PTd8PBDTJXdVKOrA0pQ7GIZWBpkFXcqQibJ7qY7sTq9qsdLoLMHRqldw9ZOofNB3yT9pohagRHQBXuuyEgYwtYn/DJm2BhYOowwhP4i5+D8B6tlV6riwbZymOOsyFwCHdZjFTwkT3R6tUCkkwL6LI7Glq6fuCVex3hsGOAENBFsb3keCHw= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR11MB1276.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(76116006)(33656002)(38100700002)(66946007)(55016003)(4326008)(64756008)(66446008)(66476007)(4744005)(8936002)(66556008)(8676002)(52536014)(2906002)(7416002)(86362001)(5660300002)(9686003)(26005)(186003)(38070700005)(71200400001)(508600001)(83380400001)(316002)(82960400001)(54906003)(110136005)(921005)(122000001)(6506007)(7696005)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dYHF5WNNrKAvfsAl0ybd/T3Tb/+Jd9eL6PVmVB2osFvFcMIwRxvCPhNQxhqX?= =?us-ascii?Q?CGaYxwjH1FjbbK+uZOXt8DU7S/qckd/wwL/yKKWNE9lbfBIDYmt4HonHrUPQ?= =?us-ascii?Q?YktQzPc+I+lNYYUjTB2ORyYqPOVTKyzGldRMFyY0b0y4J1uhKaYMpT1gmiJN?= =?us-ascii?Q?H3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z4ss6?= =?us-ascii?Q?EqNUZH7DDAa72sKDD+wvChrLqYtrOw1JWXU+MiIxINBZ6+6pdJXx5lXQK3Hq?= =?us-ascii?Q?rQA6OCBpniU8EXpTyCE9ZN12wdWii9lbZrqkH16LN8bnSN/5603oqnDMAuGO?= =?us-ascii?Q?jhv1IE7J6wHG1Dyh1+qSmadpV3+dEEsSYyKSj/WJi716OImWP3GBAu/XIXKy?= =?us-ascii?Q?JmwBSpfKLzeWDqjM+WFE1D/04MwT/MGOwo6RPWFKPuFZDlexNez9MbVgTOlz?= =?us-ascii?Q?9E7FsMwIofzio+zLFm0z8fFTPPn/z8DLePr/FiS79FpDuKHKMNW4XxHpYRit?= =?us-ascii?Q?b3l7ioOR4O5NvINSiUFymncNTUAhzVJA0HkU1+1KWCnWdeddKqTIx6jcoSbG?= =?us-ascii?Q?96SWrqPVCOGzrhRoulKGK55GlXi/pTY5L8uxWf+gqK2ZEaZ2PjQCA8omrrcG?= =?us-ascii?Q?jvo4OX5we+1aqiGpZ/YyE8l8x7ujrTZNcqh+WxskS/2TWcDp0Yhi/fX8WQeN?= =?us-ascii?Q?gfQ3zLsOsfCFb4TiKV2aj1Mqjfg6kuLL0H+Qq81vcK2jvr6/w4+ZCsgi5+ty?= =?us-ascii?Q?WQ=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR11MB1276.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d57b796-661a-4565-8474-08d9fb26c06e X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2022 01:56:50.4495 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nXTEKSKnfL100YXa6Y3bGXKeZ+m2xhn2t2PIutndyBb8n4c/BIowU7kr7VQc5pNihCtQPSwln2B1OZKCNYxodA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3562 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org -----Original Message----- From: Honnappa Nagarahalli =20 Sent: Wednesday, February 23, 2022 2:10 PM To: dev@dpdk.org; honnappa.nagarahalli@arm.com; Tu, Lijuan ; juraj.linkes@pantheon.tech; ohilyard@iol.unh.edu; david.marchand@red= hat.com; thomas@monjalon.net; jerinj@marvell.com; Richardson, Bruce ; stephen@networkplumber.org; bluca@debian.org; ktrayn= or@redhat.com; christian.ehrhardt@canonical.com; xuemingl@nvidia.com Cc: kathleen.capella@arm.com; nd@arm.com; Ruifeng Wang Subject: [PATCH v3 1/2] examples/l3fwd: use single set of variables through= out the code nb_rxd and nb_txd are used in polling mode and event mode of operation. nb_= rxd and nb_txd are already global in polling mode but are not visible to ev= ent mode code. Make them visible to all parts of the application. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Kathleen Capella Reviewed-by: Ruifeng Wang Acked-by: Bruce Richardson Tested-by: Yingya Han < yingyax.han@intel.com>