From patchwork Wed Sep 23 10:44:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Radu Nicolau X-Patchwork-Id: 78551 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2435DA04B1; Wed, 23 Sep 2020 12:45:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C99D81DBD1; Wed, 23 Sep 2020 12:45:35 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 753241DBA7 for ; Wed, 23 Sep 2020 12:45:23 +0200 (CEST) IronPort-SDR: T+ORTCwaoM8m7oUFowsIrnRu2qAWFSK64JSh6LKhx9Od0SxpA96mn7hK/OGoE4m7OJrNZ6CkxH k+74TidesnTQ== X-IronPort-AV: E=McAfee;i="6000,8403,9752"; a="148508353" X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="148508353" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 03:45:23 -0700 IronPort-SDR: qhqPpaV3TgG2u57htRtp/JVLfWAq3QZgOwCGYrPPG9wDDd6g8Bt5InhAcRCahiKfCbgWiyVGO9 UqM1LrDQDyiQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="412958669" Received: from silpixa00399477.ir.intel.com ([10.237.214.232]) by fmsmga001.fm.intel.com with ESMTP; 23 Sep 2020 03:45:20 -0700 From: Radu Nicolau To: dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, viktorin@rehivetech.com, ruifeng.wang@arm.com, jerinj@marvell.com, drc@linux.vnet.ibm.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, Radu Nicolau , Sean Morrissey Date: Wed, 23 Sep 2020 10:44:32 +0000 Message-Id: <20200923104433.11442-4-radu.nicolau@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200923104433.11442-1-radu.nicolau@intel.com> References: <20200902104343.31774-2-radu.nicolau@intel.com> <20200923104433.11442-1-radu.nicolau@intel.com> Subject: [dpdk-dev] [PATCH v2 3/4] ppc: change cpuflag macros to compiler macros 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" Replace use of RTE_MACHINE_CPUFLAG macros with regular compiler macros, which are more complete than those provided by DPDK, and as such it allows new instruction sets to be leveraged without having to do extra work to set them up in DPDK. Signed-off-by: Sean Morrissey Signed-off-by: Radu Nicolau --- config/ppc/meson.build | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/ppc/meson.build b/config/ppc/meson.build index aa7d73d11..0d8da87e6 100644 --- a/config/ppc/meson.build +++ b/config/ppc/meson.build @@ -21,5 +21,3 @@ endif dpdk_conf.set('RTE_MAX_LCORE', 1536) dpdk_conf.set('RTE_MAX_NUMA_NODES', 32) dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128) -dpdk_conf.set('RTE_MACHINE_CPUFLAG_ALTIVEC', 1) -dpdk_conf.set('RTE_MACHINE_CPUFLAG_VSX', 1)