From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D64BFA0555; Wed, 19 Feb 2020 15:31:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 941501BF7C; Wed, 19 Feb 2020 15:31:09 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 73E5E1BF78; Wed, 19 Feb 2020 15:31:07 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Feb 2020 06:31:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,459,1574150400"; d="scan'208";a="436246086" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 19 Feb 2020 06:31:06 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 19 Feb 2020 06:31:06 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 19 Feb 2020 06:31:05 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.196]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.5]) with mapi id 14.03.0439.000; Wed, 19 Feb 2020 22:31:03 +0800 From: "Wang, Xiao W" To: "Yigit, Ferruh" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/fm10k: fix non-x86 build Thread-Index: AQHV5y8/0jVF6TmANkmqXpPrnf6nUagik1og Date: Wed, 19 Feb 2020 14:31:03 +0000 Message-ID: References: <20200219141642.802413-1-ferruh.yigit@intel.com> In-Reply-To: <20200219141642.802413-1-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/fm10k: fix non-x86 build 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Acked-by: Xiao Wang Thanks, Xiao > -----Original Message----- > From: Yigit, Ferruh > Sent: Wednesday, February 19, 2020 10:17 PM > To: Zhang, Qi Z ; Wang, Xiao W > ; Chen Jing D(Mark) > Cc: dev@dpdk.org; Yigit, Ferruh ; stable@dpdk.org > Subject: [PATCH] net/fm10k: fix non-x86 build >=20 > 'fm10k_rxtx_vec.c' is SSE vector instructions implementation and should > be compiled only for x86. >=20 > The vector PMD support controlled by > 'CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR' config option, but it is enabled > by > default, safer to add x86 checks too. >=20 > Fixes: 10eb9ce8dccd ("fm10k: allow to disable vector driver") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ferruh Yigit > --- > Cc: jing.d.chen@intel.com > --- > drivers/net/fm10k/Makefile | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/net/fm10k/Makefile b/drivers/net/fm10k/Makefile > index 0271bcb15..29e659da8 100644 > --- a/drivers/net/fm10k/Makefile > +++ b/drivers/net/fm10k/Makefile > @@ -71,6 +71,8 @@ SRCS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) +=3D > fm10k_common.c > SRCS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) +=3D fm10k_mbx.c > SRCS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) +=3D fm10k_vf.c > SRCS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) +=3D fm10k_api.c > +ifeq ($(CONFIG_RTE_ARCH_X86), y) > SRCS-$(CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR) +=3D fm10k_rxtx_vec.c > +endif >=20 > include $(RTE_SDK)/mk/rte.lib.mk > -- > 2.24.1