app/testpmd: batch MAC swap for performance on x86
authorQi Zhang <qi.z.zhang@intel.com>
Sun, 16 Dec 2018 00:58:35 +0000 (08:58 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commit62b52877adbe8d3ad19615b0827e7725e51feadc
tree8e3a0e4a0bf72bc1e834a9348d53f903a1c8fa6f
parenta68b61687af0fc8c6c3ce6ae4e82286d58d6d56b
app/testpmd: batch MAC swap for performance on x86

Do four packets macswap in same loop iterate to squeeze more
CPU cycles.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/macswap_sse.h