> From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Wednesday, January 10, 2018 11:10 AM > To: Eads, Gage <gage.e...@intel.com>; jerin.jacobkollanukka...@cavium.com; > Van Haaren, Harry <harry.van.haa...@intel.com>; hemant.agra...@nxp.com; Ma, > Liang J <liang.j...@intel.com>; santosh.shu...@caviumnetworks.com > Cc: dev@dpdk.org; Pavan Nikhilesh <pbhagavat...@caviumnetworks.com> > Subject: [dpdk-dev] [PATCH v2 07/15] examples/eventdev: modify work cycles > > The current work cycles function exchanges source and destination mac > address and also pauses the core for the given cycles. > This patch splits the function into two parts i.e. exchange mac and > pause the cores. The pause cores function is invoked at every stage > where as exchange mac is invoked when packet is transmitted. > > Signed-off-by: Pavan Nikhilesh <pbhagavat...@caviumnetworks.com>
Looks good. After this change, the MAC is only swapped once, making it a "valid" forwarding app, instead of a promiscuous mode performance tester. Acked-by: Harry van Haaren <harry.van.haa...@intel.com>