app/testpmd: improve MAC swap performance for x86
authorQi Zhang <qi.z.zhang@intel.com>
Sun, 16 Dec 2018 00:58:34 +0000 (08:58 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commita68b61687af0fc8c6c3ce6ae4e82286d58d6d56b
treedbd4feae06e2604786e990908bff0f372098c6c4
parenta825afdbb9f3a15c1004113a20556cceb4cc2410
app/testpmd: improve MAC swap performance for x86

The patch optimizes the mac swap operation by taking advantage
of SSE instructions, it only impacts x86 platform.

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.c
app/test-pmd/macswap_sse.h [new file with mode: 0644]