From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 5/5] net/mlx5: add vectorized Rx/Tx burst for SSE4.1 Date: Tue, 04 Jul 2017 01:54:49 +0200 Message-ID: <2455635.l2mxHbxyCj@xps> References: <20170628230403.10142-1-yskoh@mellanox.com> <969ef71aa84f02c19f7fe011fe75e25049177d76.1498850005.git.yskoh@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, ferruh.yigit@intel.com, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, bruce.richardson@intel.com To: Yongseok Koh Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 19CAF1094 for ; Tue, 4 Jul 2017 01:54:50 +0200 (CEST) In-Reply-To: <969ef71aa84f02c19f7fe011fe75e25049177d76.1498850005.git.yskoh@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 30/06/2017 21:23, Yongseok Koh: > --- 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