[PATCH v3 1/2] examples/l3fwd: use single set of variables throughout the code

Han, YingyaX yingyax.han at intel.com
Tue Mar 1 02:56:50 CET 2022



-----Original Message-----
From: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com> 
Sent: Wednesday, February 23, 2022 2:10 PM
To: dev at dpdk.org; honnappa.nagarahalli at arm.com; Tu, Lijuan <lijuan.tu at intel.com>; juraj.linkes at pantheon.tech; ohilyard at iol.unh.edu; david.marchand at redhat.com; thomas at monjalon.net; jerinj at marvell.com; Richardson, Bruce <bruce.richardson at intel.com>; stephen at networkplumber.org; bluca at debian.org; ktraynor at redhat.com; christian.ehrhardt at canonical.com; xuemingl at nvidia.com
Cc: kathleen.capella at arm.com; nd at arm.com; Ruifeng Wang <ruifeng.wang at arm.com>
Subject: [PATCH v3 1/2] examples/l3fwd: use single set of variables throughout 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 event mode code. Make them visible to all parts of the application.

Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
Reviewed-by: Kathleen Capella <kathleen.capella at arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Tested-by: Yingya Han < yingyax.han at intel.com>


More information about the dev mailing list