app/testpmd: fix missing prefetch in macswap mode
authorYongseok Koh <yskoh@mellanox.com>
Mon, 14 Jan 2019 10:00:22 +0000 (02:00 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
commit66fc1704a7ca3232d9e452cc486381e2bbe940b3
tree230649891d6cc64457d656cfc5e459490094d3f4
parentcc28a6907b228d55f02bfbf0a40498db0a22ea62
app/testpmd: fix missing prefetch in macswap mode

Prefetching packet was missing when do_macswap() was optimized.

Fixes: 62b52877adbe ("app/testpmd: batch MAC swap for performance on x86")

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/macswap_sse.h