From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 620E2A00C2; Tue, 8 Mar 2022 10:22:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EBF014068E; Tue, 8 Mar 2022 10:22:53 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 411494068B for <dev@dpdk.org>; Tue, 8 Mar 2022 10:22:53 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4F6D15C01B1; Tue, 8 Mar 2022 04:22:50 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 08 Mar 2022 04:22:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; bh=Gcl1Cu++Ba7uA5 2WkK7n9EYENGc7frDScMJoEbfFMcM=; b=pai07m/t7msoRgL6XEdes4M8F/wsEe qQF7272/F8QRnkorvsdEWbylfFY+b5W9q7r+fgp/xTmInnZo21guBFcq+6MXmiTN +pKsiPbiLMUp6nTJkhqJ+VlQHBRpSJd9mLABStemMWf6K14GfpqM46lMSeBegjmy fRPc/pSpwORkes5y3GqwhS52IdFFDE7Q435zEtf3ZjcEH7PEp8wrcDrGRqIKywMu g8D5llnWavpgQSKS2ghw38ecV7nfJHcjMHHJkDbQyWPDms/LNa8scGqO1W1z7YS0 +enPp/ZEOYB7zzSpY2aEpo8rur/QRk2kL0flaCwbtWFQJgx7cBQYMb/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Gcl1Cu++Ba7uA52WkK7n9EYENGc7frDScMJoEbfFM cM=; b=cblnY7+q3sADgjIXmwL9/Eu8LoNe8hhGLTC24+01vN4/+3QhfnNfoa50D m8jljxXpalXIjgImFxnw2LUH1t9MV8hm+RkcuNBHbs9OiS1OjM6u6S7alExefDIW JM1YdS80JYPv3G+ZyhF/lbEYFFVIbztfjdm1o9omOw0bLQXearFXuranH3Wft6dO JQ70IcmXOJ7NEWxK4FH7tM8HEpp/81NodpChiWguXNiDJ23CCwooAR8ajHrmCwbd 2i8Gt0wUzopM6Rl9YpClorpLhLTJj/MKgAtewjMyIw40pd7A2urwwnCOKR/ywdXe E1n8vfL4UAjb+jeWZt/RQ+Ky8hvOg== X-ME-Sender: <xms:aSAnYlKOqJxnRQAwQOGloEQeV_RjX81uJ0ci6mTA7KFEJQGPvh1d4g> <xme:aSAnYhJhMLsI6UVyuVyrRvfkEHvujsUGolMs8jnxsY9ZEQ_8eJN7OdIybXTdrC9SU tOIZtyLn4OrzOM7Pw> X-ME-Received: <xmr:aSAnYtvYxzqDdZWo2zZN10C-Ns46L9PSu5d_ps01dcBABTKitwSF-hEQj_PABiuv2FadxtPFL3IHKYaikUSGNPVa_w> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudduiedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: <xmx:aSAnYmaDs6xdp1QRC7jA7ZrBsAcgNdeurKBllzUKrbgy6D8UJjjOnw> <xmx:aSAnYsZayKKmKf8x1m83PZWgWSSY9qfJdOYa3YVVlQGrEvUdXTg0vg> <xmx:aSAnYqAmSzS1iuvhJZICpIbitAnLAIrfCNk7Z-Ydg-ojw907h9vcFA> <xmx:aiAnYpLL15ji0fglgqgus0wOd_Fsm5WLRP-XJONSWnD_36nhkS59sw> Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Mar 2022 04:22:48 -0500 (EST) From: Thomas Monjalon <thomas@monjalon.net> To: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>, "Tu, Lijuan" <lijuan.tu@intel.com>, "juraj.linkes@pantheon.tech" <juraj.linkes@pantheon.tech>, "ohilyard@iol.unh.edu" <ohilyard@iol.unh.edu>, "david.marchand@redhat.com" <david.marchand@redhat.com>, "jerinj@marvell.com" <jerinj@marvell.com>, "Richardson, Bruce" <bruce.richardson@intel.com>, "stephen@networkplumber.org" <stephen@networkplumber.org>, "bluca@debian.org" <bluca@debian.org>, "ktraynor@redhat.com" <ktraynor@redhat.com>, "christian.ehrhardt@canonical.com" <christian.ehrhardt@canonical.com>, "xuemingl@nvidia.com" <xuemingl@nvidia.com> Cc: "dev@dpdk.org" <dev@dpdk.org>, "kathleen.capella@arm.com" <kathleen.capella@arm.com>, "nd@arm.com" <nd@arm.com>, Ruifeng Wang <ruifeng.wang@arm.com>, "Han, YingyaX" <yingyax.han@intel.com> Subject: Re: [PATCH v3 1/2] examples/l3fwd: use single set of variables throughout the code Date: Tue, 08 Mar 2022 10:22:46 +0100 Message-ID: <5384720.KgjxqYA5nG@thomas> In-Reply-To: <DM5PR11MB127608995116ADAA03E727CDFF029@DM5PR11MB1276.namprd11.prod.outlook.com> References: <20220202060403.118301-1-honnappa.nagarahalli@arm.com> <20220223060931.2661907-1-honnappa.nagarahalli@arm.com> <DM5PR11MB127608995116ADAA03E727CDFF029@DM5PR11MB1276.namprd11.prod.outlook.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org > 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 event mode code. Make them visible to all parts of the application. > > Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> > Reviewed-by: Kathleen Capella <kathleen.capella@arm.com> > Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> > Acked-by: Bruce Richardson <bruce.richardson@intel.com> > > Tested-by: Yingya Han < yingyax.han@intel.com> Applied, thanks.