From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0049.outbound.protection.outlook.com [104.47.42.49]) by dpdk.org (Postfix) with ESMTP id E35961B7C7 for ; Tue, 5 Jun 2018 12:36:19 +0200 (CEST) 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:X-MS-Exchange-SenderADCheck; bh=IVST6/jfuKj3MZ0bO6s9EESZnfxKkM+e3Z09AGD7/AA=; b=XpUANRVjrstlvrvwmHxVQBgDa7BFEEDHYp7gcaUrvGRdyng8IOpgH0S2haqj5PHLLBhoNvrlQZrQNUOm7I0E6T2pB5TO+IbpfbskCUMr0FZJZmVTf4PhjhbQAqRGRGVm52GmK29PlWYIAHUjpatClelza54+IsStqfnHFTPbJ/E= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shally.Verma@cavium.com; Received: from hyd1sverma-dt.caveonetworks.com (115.113.156.2) by CY4PR0701MB3633.namprd07.prod.outlook.com (2603:10b6:910:92::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.11; Tue, 5 Jun 2018 10:36:16 +0000 From: Shally Verma To: pablo.de.lara.guarch@intel.com Cc: fiona.trahe@intel.com, dev@dpdk.org, pathreya@caviumnetworks.com, mchalla@caviumnetworks.com, Ashish Gupta , Sunila Sahu Date: Tue, 5 Jun 2018 16:05:13 +0530 Message-Id: <1528194913-25893-8-git-send-email-shally.verma@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1528194913-25893-1-git-send-email-shally.verma@caviumnetworks.com> References: <1528194913-25893-1-git-send-email-shally.verma@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: PN1PR0101CA0006.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::16) To CY4PR0701MB3633.namprd07.prod.outlook.com (2603:10b6:910:92::35) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CY4PR0701MB3633; X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3633; 3:kojOWK5Odjv88r6FTb0wH5DycWR9f0bRPJViFyGrY5f/qdW8mevWYSN+dGw6pq6bOwLfQNQBhXEKI8xunHwGlXeP/eormVbpb00ajjiQO/t1aQ9aVMib6LAbNUBsGZuHv9N13Od9KQUeBWzDmeTRpHbeWVnLoBW+uSYugtI6y1drrwXPJWCTSYs8YfmG5tuyRVBj3v1gYUlqBOX6RcsLaiKs+0ctde4ngTOdu1sJ19AxxOlNJ3zV0LowGBOHE8GL; 25:PudTptc9FV5fNGrV5+g2O4Wye86stpYhxkJ91+b5tDhWOwp6ie3wX2zR8CnWVGBSXCk2fd+DcFQ1ixZNpJIN7hkDBLFzS9plii/Q9qrjD33YUkWSaLbJ0hBi4P4+YUDfDUSFvQODQI3hlpYGJ2upqyxjF5D4ikG504DGrFpvHQLfx8N5XNr/NFay9/l9oMphRF9UH5a4Ldx6ibp4rLLJjQkfiFFELBv/+EcuW4QtDEfelszV176/KUYmpD6ydae9TYoTwu/aAs8GsGAyl/j49gxzj6hUzrOWfN2T7bg/9mOLfsu6IQ06Bo6HlfeoUQHZDkANRF3wIG0GqMBEOmzpAg==; 31:7KgfjAfV2IfqSzWhWsjjqdaz+jP1g3zWJyO/DzN6n3cEK0iWJUQ1ck4P7NFtNjM5UKBPU6KURtY1ZObwiKaWPEKSjVoF8CRHdV0JmF+RQe8vZaTefV+xk3R2veZW0B/jyUhZuYGIO+biHhXKwURGWYVLIS0fD9DMJiKYFmQGLevpb/oHGn+ZnqKLesoAC7APFZ9HiixFqMG45UybwqMIxUf3lrjnzDZKbZGuNnuLXX8= X-MS-TrafficTypeDiagnostic: CY4PR0701MB3633: X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3633; 20:DM450yoUfUeEFQYLw/8QIkwgb/ELkk9sTukTv5PIgXQKgOcr62XhiyNrPvwJAc2vuUFnHZSydcIFuneD4KPIuCtbJju1JCS1zQ92hxNa7/TN16KhAyT4fMhQ2HGRPvimJ50OQBO9/6WnOVowRxKBsifGFeku0B2EnoOOfzEF25ee/mJ884E9jThISDZUDP0GTV1H9aT3TB6UtsGriUZ0jwwtHjX0F4xH96PrirSHAbSDybcSJ/bLzkrHVDVG+a9UcjXNswsl6+7n5clcXP/vVNRWyJw9OyTFzlIPcsJXQCWF8eEMadZ6KQbU4LYmgtxaj2YE5dqi/4ULHfR0Uc86VcqeWQzEYzm6HNHhhea1CDOvU+p2LELWWIIG0NPWl9ligaLm4TBkQzcyVQO1jKa9XKVsvetpK80bNhJg1cChXzGyALyr64itpUKTJEldtEC1RyO6F4upRFePS6+0MY7jswiW+B7XOr64N6bVYDBlGz5xyHBDBaNi4mZTDxdV8bYlIogROv2yXM0RxxkIOD4GripK4rOUusq+Oo4Xl2prf11fpp7BOqaRUm6TpxUObH2GjXKAxlR/3/OGUhWD3CwoH2GPUGwF2u7eX881q/Ms4Vg=; 4:ddSwdace0Tr7W5xHa5WxGyJIVC4aMJKfInjPFrpLvrTymCyXB+S7tGSjItHawGi0ixoDReqcVTHYGQtWQyOAr/+E/YVqpmQMibo626lPmzYH1qxG4Km1NnPIvbBV5UOvEm+K95lQ9odhiPeGpyeMHuizvN2zJl82rBwGU5BF4jNGWh49IyWodXE8hd/9wIvZptdviuBHh1qOy8m43AOE1NS111qkrU8D7dslADcOvwDqRIuGpvyzAK1TV1sOT+rw99Nwojc9Y3OM+hidXAj57g== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3231254)(944501410)(52105095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:CY4PR0701MB3633; BCL:0; PCL:0; RULEID:; SRVR:CY4PR0701MB3633; X-Forefront-PRVS: 0694C54398 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(366004)(39860400002)(346002)(396003)(376002)(189003)(199004)(6486002)(956004)(476003)(36756003)(97736004)(54906003)(5660300001)(316002)(386003)(25786009)(50466002)(69596002)(44832011)(53416004)(2906002)(186003)(48376002)(42882007)(52116002)(16526019)(76176011)(6512007)(486006)(8936002)(6916009)(8676002)(53936002)(6506007)(6116002)(3846002)(81166006)(105586002)(81156014)(2616005)(2351001)(26005)(47776003)(51416003)(72206003)(305945005)(6666003)(107886003)(7736002)(16586007)(55236004)(106356001)(2361001)(4326008)(66066001)(478600001)(446003)(50226002)(11346002)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR0701MB3633; H:hyd1sverma-dt.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR0701MB3633; 23:EDGELNXZHYvewXK0DiP+X4nd1Vz50CDNbXDwH1s?= =?us-ascii?Q?wM7brj1wj5YGd8CkfD+oMPvgdY0Fjz89G8MLv1vOdFWU78NG2MuXO3+sFeVp?= =?us-ascii?Q?vpkW0u/YL52o2sNdUmdInBLwnOu5cNAYBO+v52vMN+rJMKht1b/79tjk+rjx?= =?us-ascii?Q?lsnvZ0GG647One3mJFZVbSOyILtrkh0KTmDqdvJPBJydaaVmT18cLMoGBkh2?= =?us-ascii?Q?PNWcRdzVnHlU4ykpmoxHnhc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BTt/O2383G1lLEumovcI1iCJjLYimUtzTA9vKPoOQ68PSVsS4vHMjmOyhv7SzGT1g1ceXtJEc9evuYh/0Avs87d5GpIze/PMwZn0QHrKL7SDkVSkj5WclM8jRZZ60i5aJOkvDCAGrj7oI+sSHYVzId6JGFMbE3ndWG28=; 24:3qLKngVZBqftaejB0UVt1X2WyARDKYaTi3UweEohG3AtcBWV5i7+AOECB2pZukA/L+NpScRIzgQps+YVd370+xsBXOrTPwtBldLiC39oIRQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3633; 7:Vp+0Zfrrv4Xx7R6ztxMwHELhCIoJ1g876QLSaQnu6TqhxskFbOlhcrV028ht0RTY+MwDlBwatyBgSw9p7IKbu6DS0yuSxqfs2XOrPlo0px7hiBoVSjnwJiF7cuqpbSf+MIgb0KTHd16vI9zzJrL3sL/dvc1nhsC5NymYtb//Ah9kde8vKoASnBLEGQGDSx5CgvlxckL8Y3x5zur+X5ZZE8pJN0Kn4V2U6C9tuMVYryvTT3/eyhbMmgPc/hF+3qWm X-MS-Office365-Filtering-Correlation-Id: 45ff82c4-17b1-4674-0328-08d5cad02c3d X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2018 10:36:16.0749 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45ff82c4-17b1-4674-0328-08d5cad02c3d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0701MB3633 Subject: [dpdk-dev] [PATCH v1 7/7] drivers/compress: add meson.build support 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: Tue, 05 Jun 2018 10:36:21 -0000 Add octeontx in drivers/compress/meson.build. Also change the config and drv format flags to append _compress to use compression specific format for global filenames. This also require change in compression PMDs to rename their version.map files as rte_pmd__compress.map ex. Isal should rename as rte_pmd_isal_compress_version.map. Currently the drivers/compress/meson.build use the generic config names with no compress specific specifier. This breaks meson build when vendor uses same name for different PMDs, where all belongs to same platform. Ex. drivers/net/octeontx, drivers/event/octeontx, drivers/compress/octeontx where, net, event and compress carry PMD for eth, event and compression devices for Octeontx platform. Thus, differentiate globally used files using module specific specifier ex. rte_pmd_octeontx_compress_version.map and rte_pmd_octeontx_event_version.map Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- .../{rte_pmd_isal_version.map => rte_pmd_isal_compress_version.map} | 0 drivers/compress/meson.build | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/compress/isal/rte_pmd_isal_version.map b/drivers/compress/isal/rte_pmd_isal_compress_version.map similarity index 100% rename from drivers/compress/isal/rte_pmd_isal_version.map rename to drivers/compress/isal/rte_pmd_isal_compress_version.map diff --git a/drivers/compress/meson.build b/drivers/compress/meson.build index fb136e1b2..62e11d781 100644 --- a/drivers/compress/meson.build +++ b/drivers/compress/meson.build @@ -1,8 +1,8 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Intel Corporation -drivers = ['isal'] +drivers = ['isal', 'octeontx'] std_deps = ['compressdev'] # compressdev pulls in all other needed deps -config_flag_fmt = 'RTE_LIBRTE_@0@_PMD' -driver_name_fmt = 'rte_pmd_@0@' +config_flag_fmt = 'RTE_LIBRTE_@0@_COMPRESS_PMD' +driver_name_fmt = 'rte_pmd_@0@_compress' -- 2.14.3