From patchwork Wed Jun 5 22:55:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wilder X-Patchwork-Id: 54455 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F3FD61B9E4; Thu, 6 Jun 2019 00:57:34 +0200 (CEST) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 67D891B9E4 for ; Thu, 6 Jun 2019 00:57:33 +0200 (CEST) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x55MvBuK005751 for ; Wed, 5 Jun 2019 18:57:32 -0400 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2sxmd06fkp-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 05 Jun 2019 18:57:32 -0400 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 5 Jun 2019 23:57:31 +0100 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 5 Jun 2019 23:57:28 +0100 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x55MuB1d19071308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 5 Jun 2019 22:56:11 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AFEFDAC064; Wed, 5 Jun 2019 22:56:11 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 198C2AC069; Wed, 5 Jun 2019 22:56:11 +0000 (GMT) Received: from oc8377887825.ibm.com (unknown [9.80.232.172]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 5 Jun 2019 22:56:10 +0000 (GMT) From: David Wilder To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com, pradeep@us.ibm.com, drc@ibm.com Date: Wed, 5 Jun 2019 15:55:53 -0700 X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 19060522-0060-0000-0000-0000034C9EED X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00011221; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000286; SDB=6.01213786; UDB=6.00637980; IPR=6.00994859; MB=3.00027200; MTD=3.00000008; XFM=3.00000015; UTC=2019-06-05 22:57:29 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19060522-0061-0000-0000-000049A5D847 Message-Id: <20190605225553.16816-1-dwilder@us.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-05_14:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=529 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906050146 Subject: [dpdk-dev] [PATCH] config: update for ppc build with meson 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" Adding defines for missing RTE_MACHINE_CPUFLAGs. Signed-off-by: David Wilder Acked-by: David Christensen --- I am splitting my previous patch "meson: Update flags and values for ppc_64" into two separate patches (not a series). This is the first patch. config/ppc_64/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/ppc_64/meson.build b/config/ppc_64/meson.build index 7ceae1d..8c64445 100644 --- a/config/ppc_64/meson.build +++ b/config/ppc_64/meson.build @@ -11,3 +11,5 @@ dpdk_conf.set('RTE_ARCH_PPC_64', 1) dpdk_conf.set('RTE_MAX_LCORE', 256) 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)