]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/macswap.c
mempool: fix slow allocation of large mempools
[dpdk.git] / app / test-pmd / macswap.c
index 849194fe20ae862abe349ec0b1e1463ee0c77646..71af916fc348351ce10b61b7fc21320eb6a2ddec 100644 (file)
 #include <rte_flow.h>
 
 #include "testpmd.h"
+#if defined(RTE_ARCH_X86)
+#include "macswap_sse.h"
+#elif defined(RTE_MACHINE_CPUFLAG_NEON)
+#include "macswap_neon.h"
+#else
 #include "macswap.h"
+#endif
 
 /*
  * MAC swap forwarding mode: Swap the source and the destination Ethernet