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 378F1A0555; Wed, 19 Feb 2020 15:16:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 169F01B951; Wed, 19 Feb 2020 15:16:48 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1233F1B13C; Wed, 19 Feb 2020 15:16:45 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Feb 2020 06:16:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,459,1574150400"; d="scan'208";a="269187658" Received: from silpixa00399752.ir.intel.com (HELO silpixa00399752.ger.corp.intel.com) ([10.237.222.180]) by fmsmga002.fm.intel.com with ESMTP; 19 Feb 2020 06:16:43 -0800 From: Ferruh Yigit To: Qi Zhang , Xiao Wang , "Chen Jing D(Mark)" Cc: dev@dpdk.org, Ferruh Yigit , stable@dpdk.org Date: Wed, 19 Feb 2020 14:16:42 +0000 Message-Id: <20200219141642.802413-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" 'fm10k_rxtx_vec.c' is SSE vector instructions implementation and should be compiled only for x86. 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. Fixes: 10eb9ce8dccd ("fm10k: allow to disable vector driver") Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit --- Cc: jing.d.chen@intel.com --- drivers/net/fm10k/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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) += fm10k_common.c SRCS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) += fm10k_mbx.c SRCS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) += fm10k_vf.c SRCS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) += fm10k_api.c +ifeq ($(CONFIG_RTE_ARCH_X86), y) SRCS-$(CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR) += fm10k_rxtx_vec.c +endif include $(RTE_SDK)/mk/rte.lib.mk -- 2.24.1