[dpdk-dev] [PATCH v2 07/15] examples/eventdev: modify work cycles

Van Haaren, Harry harry.van.haaren at intel.com
Mon Jan 15 11:14:58 CET 2018


> From: Pavan Nikhilesh [mailto:pbhagavatula at caviumnetworks.com]
> Sent: Wednesday, January 10, 2018 11:10 AM
> To: Eads, Gage <gage.eads at intel.com>; jerin.jacobkollanukkaran at cavium.com;
> Van Haaren, Harry <harry.van.haaren at intel.com>; hemant.agrawal at nxp.com; Ma,
> Liang J <liang.j.ma at intel.com>; santosh.shukla at caviumnetworks.com
> Cc: dev at dpdk.org; Pavan Nikhilesh <pbhagavatula at 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 <pbhagavatula at 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.haaren at intel.com>


More information about the dev mailing list