Thread (48 messages) flat view 48 messages, 5 authors, 2017-07-07

Re: [PATCH v2 5/5] net/mlx5: add vectorized Rx/Tx burst for SSE4.1

From: Thomas Monjalon <hidden>
Date: 2017-07-03 23:54:50

30/06/2017 21:23, Yongseok Koh:
quoted hunk ↗ jump to hunk
--- a/drivers/net/mlx5/Makefile
+++ b/drivers/net/mlx5/Makefile
@@ -39,6 +39,11 @@ SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5.c
 SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxq.c
 SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_txq.c
 SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxtx.c
+ifneq ($(findstring RTE_MACHINE_CPUFLAG_SSE4_1,$(CFLAGS)),)
+ifeq ($(CONFIG_RTE_ARCH_X86_64),y)
+SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxtx_vec_sse.c
+endif
+endif
[...]
+#check if flag for SSE4.1 is already on, if not set it up manually
+ifeq ($(findstring RTE_MACHINE_CPUFLAG_SSE4_1,$(CFLAGS)),)
+CFLAGS_mlx5_rxtx_vec_sse.o += -msse4.1
+endif
You can remove this check and SSE flag because SSE4.2 is now
the minimum requirement for DPDK on x86:
	http://dpdk.org/patch/25444
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help