git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: add vectorized Rx/Tx burst for ARM
[dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5_rxtx_vec.c
diff --git
a/drivers/net/mlx5/mlx5_rxtx_vec.c
b/drivers/net/mlx5/mlx5_rxtx_vec.c
index
edc6638
..
ba6c8ce
100644
(file)
--- a/
drivers/net/mlx5/mlx5_rxtx_vec.c
+++ b/
drivers/net/mlx5/mlx5_rxtx_vec.c
@@
-59,8
+59,10
@@
#include "mlx5_defs.h"
#include "mlx5_prm.h"
#include "mlx5_defs.h"
#include "mlx5_prm.h"
-#if
def
RTE_ARCH_X86_64
+#if
defined
RTE_ARCH_X86_64
#include "mlx5_rxtx_vec_sse.h"
#include "mlx5_rxtx_vec_sse.h"
+#elif defined RTE_ARCH_ARM64
+#include "mlx5_rxtx_vec_neon.h"
#else
#error "This should not be compiled if SIMD instructions are not supported."
#endif
#else
#error "This should not be compiled if SIMD instructions are not supported."
#endif