From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0084.outbound.protection.outlook.com [104.47.32.84]) by dpdk.org (Postfix) with ESMTP id 0E7A61B309 for ; Fri, 19 Jan 2018 18:29:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=EOtzK+Ff2We6CPBihiNUNCy3mceh8ABGG6EPKt2s5sA=; b=nNF6/49vTx6KlUfjEdZ77d58JTmRQIcjNihyjsmkh6HEoknRzGM+ad/I5HWXed1LJSwL49GIkIl+XC0Zy3Tkc7e4va0p/Tpn+OMkKzji3eoOabu3S5oZFE5Z9YTs+jsgBp5YjUonj81U7cEiz1k3a8Hc34ONzsizW4F+W2DjNvw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT (103.16.71.47) by BN6PR07MB3459.namprd07.prod.outlook.com (10.161.153.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Fri, 19 Jan 2018 17:29:46 +0000 Date: Fri, 19 Jan 2018 22:59:28 +0530 From: Pavan Nikhilesh To: Bruce Richardson , jerin.jacob@caviumnetworks.com, harry.van.haaren@intel.com Cc: dev@dpdk.org Message-ID: <20180119172927.zkzi4d6nejsjrvro@Pavan-LT> References: <20171231000203.4510-1-pbhagavatula@caviumnetworks.com> <20180119131204.7391-1-pbhagavatula@caviumnetworks.com> <20180119131204.7391-2-pbhagavatula@caviumnetworks.com> <20180119171630.GE16980@bricha3-MOBL3.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180119171630.GE16980@bricha3-MOBL3.ger.corp.intel.com> User-Agent: NeoMutt/20170609 (1.8.3) X-Originating-IP: [103.16.71.47] X-ClientProxiedBy: SG2PR01CA0099.apcprd01.prod.exchangelabs.com (10.170.138.153) To BN6PR07MB3459.namprd07.prod.outlook.com (10.161.153.22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b9ce385-fe0e-47d2-567e-08d55f623d4a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BN6PR07MB3459; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3459; 3:4qeYwOPh8oA+9uhrHGzGTS832ClqsqqYsKNLdHHNW9tAgguYHTNvIBXqgxWnFiVdHn2RH+Jds8rlq0hfWEBALhnCfYB11r5BqhiOZc//EmW8dpxjnwBaV+Mp/Orw1lHkv8L0NDBFJFK0AVw9NKWfAOuPUhprMD6qAywBYye/XGkFnq7gecIRoHyqdtaQSLmVZNmUhs5gmUh94Ah5U8WlXC+v/amEqlgMBOA2MSBFD/6N56HpIXyJBgmS7Ah5ovaV; 25:HogOwuqqsP1feOEYgmmpCpaKMkzzuNypPt/HV9GZj72aIgZ7aBqztdONDREzL96q40gie7dV2nw7NBhTI5y8EEFSP104ggjeWroedFoOgbt0FOANZgSSyV2UMh3dKqU5HuuG/oTkzVhr2NEIKWT/2kXBNwj5mxp6l8lCZo1rFfqKnF9BkaVHSqCZx5ilgqYIzYUlwtifL8/XMXgXSCe4JfZXOSg5luzDXdsg/wLdAeRlhHU040YP+YL3srNJbKCUD7ZcVi0XkL5DCwGbL23uC5ubKjNd0a72xJ21ullGi5iIJ6pZR+C0dbeHQAOpIVDCGwASZCyndoKvDsaIke5zZQ==; 31:OqAeA3B9WKBNEFP9rC3dI9K6Jl14+rWq0Q2lYEtvS5GXiP3oTXmXLtCc/LdeokZUIB0Ab1wO4tTbKKnOk1GNUaWmVJj96LAcYjLhR1IqZB95NkXzY114brjS6ms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ft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231023)(2400080)(944501161)(93006095)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:BN6PR07MB3459; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN6PR07MB3459; X-Forefront-PRVS: 0557CBAD84 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(366004)(39380400002)(39850400004)(396003)(376002)(189003)(199004)(5660300001)(81166006)(93886005)(229853002)(68736007)(9686003)(97736004)(55016002)(81156014)(316002)(6666003)(72206003)(53936002)(8676002)(4326008)(8936002)(106356001)(2950100002)(42882006)(105586002)(305945005)(2906002)(6496006)(47776003)(7736002)(26005)(16586007)(25786009)(23726003)(52116002)(76176011)(58126008)(478600001)(83506002)(66066001)(3846002)(33896004)(386003)(33716001)(6246003)(6116002)(1076002)(50466002)(16526018)(107986001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3459; H:Pavan-LT; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR07MB3459; 23:BR2IxCbbaYhlhm1bJSmDz48HWMiJFZwulufGWLZdB?= =?us-ascii?Q?zVf9W6duO//AAAEURTLngtUiQxKOaYqP+s0fqu3tyRrB2RzHDOxdj2CnuYjJ?= =?us-ascii?Q?vDh0Jo5Tb7qQ3SGUWYYR1nLx0jYVGLJeoILMg04XnNZW8utkuaDu0+MvIEbz?= =?us-ascii?Q?TeNCC+po/HAW7BB23gCFSY+RScIhiBqSODRBctFy/ngqpvfGzZBdg7zNSH3k?= =?us-ascii?Q?Lt7WEr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b1KGfLVpSWZpKa1doC+4wC6IFbf3m0s3/YfrxVTBZoIO SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2018 17:29:46.3446 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2b9ce385-fe0e-47d2-567e-08d55f623d4a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3459 Subject: Re: [dpdk-dev] [PATCH v3 2/4] drivers/net: add drivers for Cavium NICs to meson 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: , X-List-Received-Date: Fri, 19 Jan 2018 17:29:50 -0000 On Fri, Jan 19, 2018 at 05:16:30PM +0000, Bruce Richardson wrote: > On Fri, Jan 19, 2018 at 06:42:02PM +0530, Pavan Nikhilesh wrote: > > Add Cavium octeontx and thunder nicvf to meson build infrastructure. > > > > Signed-off-by: Pavan Nikhilesh > > --- > > drivers/net/meson.build | 3 ++- > > drivers/net/octeontx/base/meson.build | 21 +++++++++++++++++++++ > > drivers/net/octeontx/meson.build | 13 +++++++++++++ > > drivers/net/thunderx/Makefile | 2 +- > > drivers/net/thunderx/base/meson.build | 14 ++++++++++++++ > > drivers/net/thunderx/meson.build | 14 ++++++++++++++ > > ...cvf_version.map => rte_pmd_thunderx_version.map} | 0 > > 7 files changed, 65 insertions(+), 2 deletions(-) > > create mode 100644 drivers/net/octeontx/base/meson.build > > create mode 100644 drivers/net/octeontx/meson.build > > create mode 100644 drivers/net/thunderx/base/meson.build > > create mode 100644 drivers/net/thunderx/meson.build > > rename drivers/net/thunderx/{rte_pmd_thunderx_nicvf_version.map => rte_pmd_thunderx_version.map} (100%) > > > > > diff --git a/drivers/net/thunderx/meson.build b/drivers/net/thunderx/meson.build > > new file mode 100644 > > index 000000000..7333738de > > --- /dev/null > > +++ b/drivers/net/thunderx/meson.build > > @@ -0,0 +1,14 @@ > > +# SPDX-License-Identifier: BSD-3-Clause > > +# Copyright(c) 2017 Cavium, Inc > > + > > +subdir('base') > > +objs = [base_objs] > > + > > +sources = files('nicvf_rxtx.c', > > + 'nicvf_ethdev.c', > > + 'nicvf_svf.c' > > + ) > > + > > +cflags += '-fno-prefetch-loop-arrays' > > + > > This flag doesn't work with clang (at least with 5.0.0), so needs to > be: > > if cc.has_argument('-fno-prefetch-loop-arrays') > cflags += '-fno-prefetch-loop-arrays' > endif > > I'm also getting errors with gcc builds due to maybe-uninitialized > variables, so I also had to add: > > if cc.has_argument('-Wno-maybe-uninitialized') > cflags += '-Wno-maybe-uninitialized' > endif Will send out v4 adressing these. > > Regards, > /Bruce Thanks, Pavan