app/testpmd: move MAC swap functions
authorQi Zhang <qi.z.zhang@intel.com>
Sun, 16 Dec 2018 00:58:33 +0000 (08:58 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commita825afdbb9f3a15c1004113a20556cceb4cc2410
treebb3af5c2cb9d58f1b3ba0f2ecf31221e16fc7391
parentf42cc9a81b52ab1de4628e2bd4f87fc3fa1ef6e2
app/testpmd: move MAC swap functions

Move macswap workload to dedicate function, so we can further enable
platform specific optimized version.

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