From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-eopbgr700049.outbound.protection.outlook.com [40.107.70.49]) by dpdk.org (Postfix) with ESMTP id 46CD01CE54 for ; Fri, 8 Jun 2018 18:49:50 +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=wzgr7qadIPF7AI3/GgQ/I6KAdkGEtD+plyBzG4ySLj4=; b=Bm98SFv90/Wg9fJgEpNmNvvPgJud0FCP51fVIpos97M5JqLvdoMcHEpWG7UUXWurthmwjezbY0NQDy+NjlQImDgyp7mwi6WhXMnYEUfbszTysMT64r7k7OsxtMZ21ADIMBkJs8Az0Cwr6STM+z6XEqif9aMl8aOlFsDLEhV2lM0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from ajoseph83.caveonetworks.com.caveonetworks.com (115.113.156.2) by SN6PR07MB4911.namprd07.prod.outlook.com (2603:10b6:805:3c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.15; Fri, 8 Jun 2018 16:49:44 +0000 From: Anoob Joseph To: Akhil Goyal , Pablo de Lara , Thomas Monjalon Cc: Ankur Dwivedi , Jerin Jacob , Murthy NSSR , Narayana Prasad , Nithin Dabilpuram , Ragothaman Jayaraman , Srisivasubramanian Srinivasan , dev@dpdk.org Date: Fri, 8 Jun 2018 22:15:25 +0530 Message-Id: <1528476325-15585-17-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528476325-15585-1-git-send-email-anoob.joseph@caviumnetworks.com> References: <1528476325-15585-1-git-send-email-anoob.joseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR01CA0071.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::11) To SN6PR07MB4911.namprd07.prod.outlook.com (2603:10b6:805:3c::29) 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:SN6PR07MB4911; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4911; 3:pUJKvjpXhE3/7S6+CtHzxWqH4iusbzor+ntyzjghQGsfPTCW4G/vkZLAJtxV45z8AExulP6kRw/Ap4LmhSr7tRghK64z3pt/vwgvm+qVwJXy8pqLFFeB3FJ4SA3F8aZgKbl4zJ61TF0uFPzHZLHYU7nPSfrpvYBw5VdE4Fm5SNkC+sIDfT2w5gYjXJhvqzErSPu6+YM4Sw8WoLtV8X7nnBG7tbzKZ7honTHwH6V2EE/DC+3L7LDKHWFIp0XLINup; 25:ELhMW8PNPnJCMsWuyxDYQtOgZEXpS5RAwNnkZqw2D4ng5XczVdB2Oy7HUqSml2NhwRvY4qMrt9dv4kPzFh2dE1NX6wEHOvqI+Qq2TCkY31xAmUI+2Sl2nqXwUu+hlk3hExL/8GkZyEUnRWqh4ZxVaKjhX0cTBERqy6BfJMAZcTZPRfrVUmx9AXIUTzUTODzh4Hz6eAqZFdaSWqTR0iOl0No1yuGJ8e+dMfDXLrRXIc94YgyEObPED4ePczMFdsw7Df48NoflHyDwvrpm3Qjpatnu2Dy55loITHHN2o96454rDQQ1/98DgqDmNK5ThLZZCklB2srzrH5uE4nEtGovWQ==; 31:YFgYCU2vZG/npXUNCOWHmWPyyic6ml6MEHw5IpMCipnSteAO23sXLMPq2VMkk6VOv28Uqqg+y92ekVsEDyP1UAkMMhvvhs52o1UkqR76xjfMB5BSUuduicNLinWVwLGrE472MtdXCxyJgI+NYyrxVdk9OihfoZRVjNt1890tcVF7XlF51OpnonxHOZey5y+LdH3+qNuuUeGk6HJRTEk8SulkTKz78BLckAX1TNUo8fo= X-MS-TrafficTypeDiagnostic: SN6PR07MB4911: X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4911; 20:S4pRdN+MIq8Ztqq6IcT6aNw+Y3fGZcHcLKKpUaTlJOwNEGTXs+5iiKVjzNl42lP5w2LoRYRssDw/JGwNskNPajqe9Kx5wN4hmR0Y80DUw0127o0rnIHClYuRk7k+epD7ySWZUGlYS33PgXzucqI+wLm0rRKrT9ORMz/o3ME2eCVHyOOGj0YC4wIGXl38QO1ajUWDlMv6ZJhmpyM1DTMZ5mLWHsulb2n0ZeUrWF4GFyvxvpUwfF5uwzRaydWAxN+rxS7ATS/nuOES93HIf0nGV3jdbq2rD/G6Nn6LpWhMOL3Lh1zzT/VL0i3M0l6xutdHiTHLWvrk6QXHT1ZS0FlM7h1cX3NgWadc9walzVecjDUoRpSWYMvJMjYGRrDnMkFLgik4PrNJyr/lKH9RwObxJ9i3puv+NLhucXYx6A6GsoPdF7K1rYO7awXOhonjznDWXTclTbu6dzc5SnGWZ1ov8xmwzWkuGnEOPqWg4aMU/MvZ/Z37CRec2OV3aKi1/sfRcc6wKl7Wtrhv+AWhXx26aVXJ6SrZE3ZiEEZOfPwzep3f9H/AbCSLZiQY1e2ZNXsIBBnCa4wMqbYHn5WSNGrJriXGqAowulEwt65mFy/Vxy4=; 4:hT/EZMvDSJBWO9b59pgCbFRe5rr3BTSDXgcGXWqN5XI10Qd35xFy+jD5z6SW65581AnIbMEINxYaJQEpOtdYnV2fhQg2+06SnDLMWcTWNIZkQWw6O9JBqNJ8mrxsQzeuihKmD7pF5aNU0dQmTIzyxlgQl12qS53FGhX25istVFhjpp8W0mZ5KaM3o879eBaE0h1AWYR0A8I7K2W+w/sSidbE28sFciSn9PFJwijf/3lXAVbRXqTKABF0GaHXMzQVfPHaPbflLr5zhaShDYEzKg== 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)(8121501046)(5005006)(10201501046)(93006095)(3002001)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:SN6PR07MB4911; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB4911; X-Forefront-PRVS: 06973FFAD3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(39380400002)(366004)(39860400002)(189003)(199004)(26005)(52116002)(956004)(305945005)(8676002)(81156014)(50226002)(8936002)(81166006)(7736002)(68736007)(105586002)(106356001)(3846002)(6116002)(72206003)(478600001)(6486002)(97736004)(6506007)(16586007)(6512007)(53936002)(47776003)(486006)(25786009)(5660300001)(50466002)(48376002)(6666003)(4326008)(54906003)(76176011)(36756003)(110136005)(66066001)(8656006)(2906002)(316002)(55236004)(11346002)(16526019)(386003)(186003)(59450400001)(446003)(476003)(42882007)(44832011)(2616005)(51416003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB4911; H:ajoseph83.caveonetworks.com.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; SN6PR07MB4911; 23:uY2P1xqXvJTtDWBngr1MsoczPcxudPlmaL6fgA0nr?= =?us-ascii?Q?AAXzkd3RyubvU1VNV7YjzEJtM0WP2yuuyIoftotcA2gzLa39FbhKCNvQA12M?= =?us-ascii?Q?y0KCxzL1EXtEFXvhCGOfPu9ezTwC9pt4TCF/nCoNm3mjPXm+etCbOEPQqrnP?= =?us-ascii?Q?rcttMYjdxrW1oBkYCDCMt+gOhFcJvuNfPRoBqNcGeQPJpT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1+/WDgntrTt9xLRX8JEZ2Iqcq5VIAo3iyFMCDPvI4K8NI/rM3vShNMV2Ldfoej1m3gWimcrUbMCW0HgHWJBbPMnWsMFz221x8KrkrHWVLXWun24y8RJkxjISkbxMliK0=; 24:gIyaeqMtaVZvrfLq1wlNlmgbX72Qi+jlFcRBMr9H+5/5oA/r+zi2BCHUbNOFbjngXfXZ45ffUBBcnAghig45WbGLy4hRa7BjzbfXQnitZ/A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4911; 7:C0sXKR1v9imvcbftiEqXHiX8xLLzmqUpNDt7vRxrQeqgQVKGkMSajcrBhTROJfgoTVxiIK1S167PEuEDcbnmpRB4eHKHkD26+xB1Gz8d/PbOVCRhuwiTfTEDBynNUZ4uQdV4MpGTwppK3P1mpt0VIfpC9x9B2ZE6WC9kAanyMZpapvmZx+qxaLM2dMCIgZC+ln6JohM8zP9I3O/SQmQlbDZeP1vPlqPI3atNnBpIzpd/g4m2Rnjl+gO1RX0F1Sqw X-MS-Office365-Filtering-Correlation-Id: 6e46110e-3485-402f-109c-08d5cd5fd89f X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2018 16:49:44.6465 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6e46110e-3485-402f-109c-08d5cd5fd89f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB4911 Subject: [dpdk-dev] [PATCH 16/16] crypto/cpt: 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: , X-List-Received-Date: Fri, 08 Jun 2018 16:49:50 -0000 From: Ankur Dwivedi Adding the meson.build file for the CPT PMD. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian Srinivasan --- drivers/crypto/cpt/meson.build | 16 ++++++++++++++++ drivers/crypto/meson.build | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 drivers/crypto/cpt/meson.build diff --git a/drivers/crypto/cpt/meson.build b/drivers/crypto/cpt/meson.build new file mode 100644 index 0000000..d298587 --- /dev/null +++ b/drivers/crypto/cpt/meson.build @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2017 Cavium, Inc +if host_machine.system() != 'linux' + build = false +endif + +sources = files('cpt_pmd_cryptodev.c', + 'cpt_pmd_ops.c', + 'base/cpt_device.c', + 'base/cpt_request_mgr.c', + 'base/cpt_ops.c', + 'base/cpt8xxx_device.c', + 'base/cpt_vf_mbox.c') + +deps += ['bus_pci'] +pkgconfig_extra_libs += '-lcrypto' diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build index d64ca41..6a7923f 100644 --- a/drivers/crypto/meson.build +++ b/drivers/crypto/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -drivers = ['ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam', +drivers = ['cpt', 'ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam', 'null', 'openssl', 'qat', 'virtio'] std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps -- 1.9.3