From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 94EE120BD8; Mon, 3 Jul 2017 19:54:50 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 03 Jul 2017 19:54:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=usFEtT7i44Yr8lt S8n7npLMd2zI8aTfffgPVq+LQm00=; b=s4zj/RvSxQs56a6HD80SgedFQXO62ZP a9s8OZArLz9HGESwpu1gcO0ZdhTrU6tf7yS5LlxrRM0mZRDR++6VoGCFx5Scsrxb hlOU39REZb22O671Yta9C4K1lGGvSawe97IorbHkC51hbEuci4mOyWrNT+0qwh15 iWq6pJGB6UmA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=usFEtT7i44Yr8ltS8n7npLMd2zI8aTfffgPVq+LQm00=; b=f2+Zno8f Ghk/WOcHb6/TOSY3YIcvzbAgD5KAZIWxGf286oZFqxkMIgLFBgEVbpURDH9hRgEN FW9KCH/jtSm0CU/xE/nks+BNECPk3hA9wVUraWKwHoaG3C8++ZOeKwfsHdXuLy4G ou4xNgcA/i2YlHFCAu2Eov19eM82ZklyMsZ72uisflEhEPS45L1H/se8Cg3/1Xcx 8pMRBBDtlYxHaQ8D+M22I+L7AHipRKrIV3bXTQC8/Yn28+5uUUVrMedZzpmIhucI dKTaVkB5eNx02Tf/bwHDwwhMrBxtPuiO7yobXQEaK/FsUcTwSkxALmfKIOPLgKJ0 g8mgIlJxhjcPEQ== X-ME-Sender: X-Sasl-enc: g0uCBuMEvyhb58FefEs5oohQ+5B2gaqd16E5TuV+rhgT 1499126090 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4979F7E622; Mon, 3 Jul 2017 19:54:50 -0400 (EDT) From: Thomas Monjalon To: Yongseok Koh Cc: dev@dpdk.org, ferruh.yigit@intel.com, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, bruce.richardson@intel.com Date: Tue, 04 Jul 2017 01:54:49 +0200 Message-ID: <2455635.l2mxHbxyCj@xps> In-Reply-To: <969ef71aa84f02c19f7fe011fe75e25049177d76.1498850005.git.yskoh@mellanox.com> References: <20170628230403.10142-1-yskoh@mellanox.com> <969ef71aa84f02c19f7fe011fe75e25049177d76.1498850005.git.yskoh@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 5/5] net/mlx5: add vectorized Rx/Tx burst for SSE4.1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2017 23:54:51 -0000 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