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 25169A00C2; Wed, 22 Apr 2020 09:24:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA1C71C2A9; Wed, 22 Apr 2020 09:24:54 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 1086C1C2A7 for ; Wed, 22 Apr 2020 09:24:52 +0200 (CEST) IronPort-SDR: Z9b4CH+MYEiJMVDUMUesOqzoVRyJn8JVpZK5sXNX/f+9K3Xa/dvYUWogUXBY98K6Xm895fQgPq Kv99+e+ffSrg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 00:24:52 -0700 IronPort-SDR: uJT5ED4r+push+E3Ola62Z5I04BX+qqPZw6jdhbK6RAVjgSTSzwnSuJ1FOdodh17uhlY2oGz8+ FyvYhXPLdrng== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,412,1580803200"; d="scan'208";a="273794784" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by orsmga002.jf.intel.com with ESMTP; 22 Apr 2020 00:24:51 -0700 Date: Wed, 22 Apr 2020 15:20:28 +0800 From: Ye Xiaolong To: David Christensen Cc: beilei.xing@intel.com, dev@dpdk.org Message-ID: <20200422072028.GB105307@intel.com> References: <20200409182055.14418-1-drc@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200409182055.14418-1-drc@linux.vnet.ibm.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH] net/i40e: enable PPC altivec support for meson builds 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" On 04/09, David Christensen wrote: >The meson build file does not enable i40e vectorization support for >PPC/altivec systems, even though the existing Makefile does enable the >support. Add the required architecture check and sources line. > >Signed-off-by: David Christensen >--- > drivers/net/i40e/meson.build | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build >index b01babba1..cb278696f 100644 >--- a/drivers/net/i40e/meson.build >+++ b/drivers/net/i40e/meson.build >@@ -45,6 +45,9 @@ if arch_subdir == 'x86' > c_args: [cflags, '-mavx2']) > objs += i40e_avx2_lib.extract_objects('i40e_rxtx_vec_avx2.c') > endif >+elif arch_subdir == 'ppc' >+ dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1) >+ sources += files('i40e_rxtx_vec_altivec.c') > endif > > install_headers('rte_pmd_i40e.h') >-- >2.18.1 > Applied to dpdk-next-net-intel, Thanks.