From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30067.outbound.protection.outlook.com [40.107.3.67]) by dpdk.org (Postfix) with ESMTP id 0E4455592 for ; Fri, 14 Sep 2018 14:11:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=33nJefmoB4xEtZr5bbRe36Egrn/Mu5gwZ8ABYJf50NI=; b=xPkSOhmMCteWxx03XwUGcNJXuHRvbMIjTot6LTxfy26MnjOw5cmky8MjmM93r9223igryyKf3zTcp5Im7QvtD7FrGPwNHElK0t7T6iYwPBZtH0mLEQhvKRkr/KxE+bSjvbyL0tOn+2UJe6UlNmSBXJreseIi6Kpay+pT8A1iEd4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.144] (14.143.30.134) by AM0PR04MB4881.eurprd04.prod.outlook.com (2603:10a6:208:c5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.18; Fri, 14 Sep 2018 12:11:46 +0000 To: Anoob Joseph , Pablo de Lara , Thomas Monjalon Cc: Ankur Dwivedi , Jerin Jacob , Narayana Prasad , dev@dpdk.org, Anoob Joseph , Murthy NSSR , Nithin Dabilpuram , Ragothaman Jayaraman , Srisivasubramanian S , Tejasree Kondoj References: <1528476325-15585-1-git-send-email-anoob.joseph@caviumnetworks.com> <1536033560-21541-1-git-send-email-ajoseph@caviumnetworks.com> <1536033560-21541-2-git-send-email-ajoseph@caviumnetworks.com> From: Akhil Goyal Message-ID: Date: Fri, 14 Sep 2018 17:41:32 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1536033560-21541-2-git-send-email-ajoseph@caviumnetworks.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: BM1PR01CA0087.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::27) To AM0PR04MB4881.eurprd04.prod.outlook.com (2603:10a6:208:c5::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2e13e111-e6e7-49dc-acf3-08d61a3b3f6a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4881; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4881; 3:fm/MaXQLs2U64r2nWmN5ZCfngHkDmsV+R0kNWjIEz7sXFlEYJ1QdBxH9tRe48jvX1yXeE1sijkPljgh07WY107JtKr9LJQXYBX3HIvA4pgGpto5teLQrm2mAqUdkC5X5dvj8Y5f8ghuvkopQHs2mzvE0h8ZPPoNllpAvJfQIhMh7h7BbBsHCeV/kVZPdFUfc9jTN5RxTpFvWdmV0mSaIxeVptk2cpecvh09Y3S1PLU5/74I9zhWD60rxWPAZxeRj; 25:keUb1CAaQRgxYG4bdr810THtuFRDpiC8Xd2YhWZzZRxLrX2w2EDSiWXDzea0iKFQDxCQKFhPmgvDnrX7MhSg6sE/gTyMw27NaYx8UCbcqC2aXTJI2HHjEXrMaQEcykwPYAZ5JP4hqUTdgGPWxwxUGKvRv8Bg8RSQmWlxycTd9/t/usY9LZh2N/gvNOYThkhgFD81xouvm+/iVVcDUL0NSYMBKu/dABV3rWBVm2/3SPmSulLftJkSeRg6QmKMleXGQCnNMuJ87BwqqgJ+BJknMz0TBktQ7O95yMWnMO1M4i1IvOu3hMJ06NMzX5DqqiTizs5xKbU43FFK3FUUHlrQEw==;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bQyri3+0qLFT61g2Jt7q3KqVyppHYhsJcx97p+RVSZTkZo52S7hTBsH76L3ssC9 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201708071742011)(7699050); SRVR:AM0PR04MB4881; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4881; X-Forefront-PRVS: 07954CC105 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(136003)(366004)(346002)(39860400002)(376002)(199004)(189003)(229853002)(486006)(36756003)(478600001)(53936002)(31696002)(65806001)(7416002)(65956001)(66066001)(47776003)(386003)(53546011)(86362001)(6486002)(14444005)(4326008)(16526019)(6666003)(3260700006)(25786009)(186003)(31686004)(305945005)(7736002)(26005)(81166006)(16576012)(81156014)(77096007)(54906003)(8676002)(446003)(67846002)(2906002)(58126008)(5009440100003)(52146003)(23676004)(2486003)(68736007)(55236004)(316002)(52116002)(44832011)(76176011)(65826007)(6246003)(64126003)(11346002)(106356001)(3846002)(230700001)(956004)(6116002)(8936002)(110136005)(105586002)(476003)(97736004)(5660300001)(2616005)(50466002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4881; H:[10.232.134.144]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTBQUjA0TUI0ODgxOzIzOlo3cG45SEJpUzFTdHJNd3hNbDBDcUFVL250?= =?utf-8?B?Y2FzWG1hNlRVbUVvTTd6VU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y7wWjk2X5pCoCjp7wOSa0Dd2IQs1a//u6Ih6tAjgrNZIDdU366EN2NkRUcESMC4sLfAhhhgU11sB/acJAvoo+CnZL4zJ1Whig3fCS6liBqq6VX/NsI0rcVkvczjDLCb11aA5pyOtHpPnXGr4590vpAER8WS63CEh6fYrs88uEaEnxOqqiyk3kEy8d/JyQvtSxRlvUNboquyaVGt5iiV//a8Q26hf94xxZzfBwoYFpoADA==; 5:g0ctRxqWdTIJSVCA60fkSq5vLnT/VmVLDViy+nkTP4F+E1iirAKIMihrHPLCAzC0yOQfYvQrhqKZDI5tNYkUx8KoQzK/x3Tbj4TdsrYD6fVPb97E0WZC0eXJfEyWNUZgrpCkq9Q7AegHccu1CqYMTjFWghjJPeXRf5bK7qnQrRU=; 7:DA9U9Xyo/9GIxDfsmY8MBO3RoVg8AINo1Hz/2c9gdp/B839vJwGboqSaFT9khbZxYvenG77rc8nJ03miFenoGX+XcqZrtE08DgkNLhFXZM+AGggMbk8F7UfylZWuZJtAJ4CUCuW5eV78LLxVXMaK31FJzpeyFDCl+POMyXgEOyOjnlhfPvkklLMdB85Q8jtLyt8OmiRmTVGk19Qwa7B8K8DqPMxnQsFACu9K81vSRHymtlZDIOqWpUsbhMF4bU1g SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2018 12:11:46.3227 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2e13e111-e6e7-49dc-acf3-08d61a3b3f6a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4881 Subject: Re: [dpdk-dev] [PATCH v2 01/33] config: add Cavium OcteonTX crypto PMD skeleton 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, 14 Sep 2018 12:11:50 -0000 Hi Anoob, On 9/4/2018 9:28 AM, Anoob Joseph wrote: > From: Ankur Dwivedi > > This adds Makefile, meson.build and config file options. > Also adds the version map files and maintainers > file to claim responsibility. > > Signed-off-by: Ankur Dwivedi > Signed-off-by: Anoob Joseph > Signed-off-by: Murthy NSSR > Signed-off-by: Nithin Dabilpuram > Signed-off-by: Ragothaman Jayaraman > Signed-off-by: Srisivasubramanian S > Signed-off-by: Tejasree Kondoj > --- > MAINTAINERS | 7 ++++ > config/common_base | 5 +++ > drivers/crypto/Makefile | 1 + > drivers/crypto/meson.build | 2 +- > drivers/crypto/octeontx/Makefile | 37 ++++++++++++++++++++++ > drivers/crypto/octeontx/meson.build | 12 +++++++ > .../octeontx/rte_pmd_octeontx_crypto_version.map | 4 +++ > mk/rte.app.mk | 1 + > 8 files changed, 68 insertions(+), 1 deletion(-) > create mode 100644 drivers/crypto/octeontx/Makefile > create mode 100644 drivers/crypto/octeontx/meson.build > create mode 100644 drivers/crypto/octeontx/rte_pmd_octeontx_crypto_version.map > > diff --git a/MAINTAINERS b/MAINTAINERS > index 9fd258f..09548fa 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -771,6 +771,13 @@ F: drivers/crypto/armv8/ > F: doc/guides/cryptodevs/armv8.rst > F: doc/guides/cryptodevs/features/armv8.ini > > +Cavium OcteonTX > +M: Anoob Joseph > +F: drivers/common/cpt/ > +F: drivers/crypto/octeontx/ > +F: doc/guides/cryptodevs/octeontx.rst > +F: doc/guides/cryptodevs/features/octeontx.ini octeontx.rst and octeontx.ini does not exist. Please update MAINTAINERS in the patch which is adding this file. > + > Crypto Scheduler > M: Fan Zhang > F: drivers/crypto/scheduler/ > diff --git a/config/common_base b/config/common_base > index 4bcbaf9..4c6a951 100644 > --- a/config/common_base > +++ b/config/common_base > @@ -635,6 +635,11 @@ CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n > CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n > > # > +# Compile PMD for Cavium OcteonTX crypto device > +# > +CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO=y > + > +# > # Compile raw device support > # EXPERIMENTAL: API may change without prior notice > # > diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile > index c480cbd..c083e64 100644 > --- a/drivers/crypto/Makefile > +++ b/drivers/crypto/Makefile > @@ -7,6 +7,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_GCM) += aesni_gcm > DIRS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_MB) += aesni_mb > DIRS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += armv8 > DIRS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp > +DIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += octeontx > DIRS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += openssl > DIRS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler > DIRS-$(CONFIG_RTE_LIBRTE_PMD_SNOW3G) += snow3g > diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build > index d64ca41..2187870 100644 > --- a/drivers/crypto/meson.build > +++ b/drivers/crypto/meson.build > @@ -2,7 +2,7 @@ > # Copyright(c) 2017 Intel Corporation > > drivers = ['ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam', > - 'null', 'openssl', 'qat', 'virtio'] > + 'null', 'octeontx', 'openssl', 'qat', 'virtio'] > > std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps > config_flag_fmt = 'RTE_LIBRTE_@0@_PMD' > diff --git a/drivers/crypto/octeontx/Makefile b/drivers/crypto/octeontx/Makefile > new file mode 100644 > index 0000000..65bd02f > --- /dev/null > +++ b/drivers/crypto/octeontx/Makefile > @@ -0,0 +1,37 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2018 Cavium, Inc > +# > + > +include $(RTE_SDK)/mk/rte.vars.mk > + > +# library name > +LIB = librte_pmd_octeontx_crypto.a > + > +# library version > +LIBABIVER := 1 > + > +# build flags > +CFLAGS += $(WERROR_FLAGS) > + > +LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring > +LDLIBS += -lrte_cryptodev > +LDLIBS += -lrte_pci -lrte_bus_pci > + > +VPATH += $(RTE_SDK)/drivers/crypto/octeontx > + > +CFLAGS += -O3 -DCPT_MODEL=CRYPTO_OCTEONTX > + > +# export include files > +SYMLINK-y-include += > + > +# versioning export map > +EXPORT_MAP := rte_pmd_octeontx_crypto_version.map > + > +# library dependencies > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += lib/librte_eal > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += lib/librte_cryptodev > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += lib/librte_mempool > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += lib/librte_mbuf > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += lib/librte_malloc > + > +include $(RTE_SDK)/mk/rte.lib.mk > diff --git a/drivers/crypto/octeontx/meson.build b/drivers/crypto/octeontx/meson.build > new file mode 100644 > index 0000000..261bb77 > --- /dev/null > +++ b/drivers/crypto/octeontx/meson.build > @@ -0,0 +1,12 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2018 Cavium, Inc > +if host_machine.system() != 'linux' > + build = false > +endif > + > +deps += ['bus_pci'] > +name = 'octeontx_crypto' > + > +sources = files() > + > +cflags += '-DCPT_MODEL=CRYPTO_OCTEONTX' > diff --git a/drivers/crypto/octeontx/rte_pmd_octeontx_crypto_version.map b/drivers/crypto/octeontx/rte_pmd_octeontx_crypto_version.map > new file mode 100644 > index 0000000..521e51f > --- /dev/null > +++ b/drivers/crypto/octeontx/rte_pmd_octeontx_crypto_version.map > @@ -0,0 +1,4 @@ > +DPDK_18.11 { > + > + local: *; > +}; > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > index de33883..b530337 100644 > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -211,6 +211,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += -L$(LIBSSO_ZUC_PATH)/build -lsso > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += -lrte_pmd_armv8 > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += -L$(ARMV8_CRYPTO_LIB_PATH) -larmv8_crypto > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO) += -L$(LIBMUSDK_PATH)/lib -lrte_pmd_mvsam_crypto -lmusdk > +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += -lrte_pmd_octeontx_crypto > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += -lrte_pmd_crypto_scheduler > ifeq ($(CONFIG_RTE_EAL_VFIO)$(CONFIG_RTE_LIBRTE_FSLMC_BUS),yy) > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += -lrte_pmd_dpaa2_sec > I think it would be better to squash the makefile related changes in the 3/33 patch as the code is actually added in that and here the code is not getting compiled here. -Akhil