From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01hn0214.outbound.protection.outlook.com [104.47.32.214]) by dpdk.org (Postfix) with ESMTP id 8E49B1EA15 for ; Thu, 14 Jun 2018 04:57:00 +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=O3cALV+KBIgdAK/w1IVt7Sab/QDN1xQtMjLt+G3znzM=; b=UtoUuzqPjoRRodOQTajIIb+Kw7zodfynqBMcqhLF19aEfJncAemmKpPr1/BsiCp4IRP3ekaJduRrv3XTznuB2eizYj6C8cyeeqL7E4lQ9imd0EQn1czp/6+5EvFBcc70INblUG+qQe2Enpb77NR4k9P1m2NoWpDW0dJ8lXCoA18= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (223.226.32.255) by CO2PR07MB2517.namprd07.prod.outlook.com (2603:10b6:102:12::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.14; Thu, 14 Jun 2018 02:56:54 +0000 Date: Thu, 14 Jun 2018 08:26:39 +0530 From: Jerin Jacob To: Anoob Joseph Cc: Akhil Goyal , Pablo de Lara , Thomas Monjalon , Nithin Dabilpuram , Ankur Dwivedi , Murthy NSSR , Narayana Prasad , Ragothaman Jayaraman , Srisivasubramanian Srinivasan , dev@dpdk.org Message-ID: <20180614025638.GA16602@jerin> References: <1528476325-15585-1-git-send-email-anoob.joseph@caviumnetworks.com> <1528476325-15585-2-git-send-email-anoob.joseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1528476325-15585-2-git-send-email-anoob.joseph@caviumnetworks.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [223.226.32.255] X-ClientProxiedBy: MA1PR01CA0085.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00::25) To CO2PR07MB2517.namprd07.prod.outlook.com (2603:10b6:102:12::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 741928bb-3272-4fa8-722d-08d5d1a27ea1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 3:KgryWT1TLXCQheWVVaYJQD0duKmuqPvX3s+jSFkFhOrck2GNhdiiEc2Cux5YA8V9AiCc4VzhA9JD5Uce81Prh0vZ6sq7oiQJg/09GJ9YH8YVv+PVWr3u10tkw5XLV3o10UoIEHFiJpyNjz0z39JfRVrdPH90gAXgh0HSl+TNwqErZy7NxKcuz1ygrg0Fasf4Nst8qV3YRwMf1hyBueYeOf/dbSQxzh7vOM9TtqCWHNVgQzXrqpqUverRiQGKdfZw; 25:/2jQRaOmb0copRYPPuXOIPPzGlQXnmNDcQF6o+yxJx6UzixftM4ILYDEtx8yzUQtrWE52eZZxJ6m3un+SRyWtdcweADy7ibQ0EqeNTGlxpYvKoLyLlwH+xUkRChf/yFhfohliR/aHPoxeLvVVWblwNVsq9DwytLFqm40Tn//mQxn1Cvsue842Ecy+AWEhXC8LHMiyKVBVUd8aMwRQBlWdDQfc2bqn2vmXRqaDrht83J0PsplNQfE8/wxCcFhqF+dlAiJfmlrZqk1gz6VwaVsMJ7yM889X50z5b5WpGqWCRIJc6FTvuLfKOzK6iiVAJvbynRlTQRZbEfZNHlJz7V4Ew==; 31:vpkI9xjTB46i6VWzI22rMxo+7yDMqF+1bzpD9+aitIhzdeLj+x0MpJgfdbskXJB5WDLYMjnZO7WAJp9f3nomtqiWynmC7FQO9WroIJJyae/7bEVBJ3IwSrtO5lb12UYQZ5hK1zMg9PPMfxSNg5mNsfCns9CjwXJNRwHvv7bYpYmAmG305YoEtjtRy8bnCIuyLYyb/9mQaJpl2qE5IN6nREBowYyBNFOulHUh8DAOjN0= X-MS-TrafficTypeDiagnostic: CO2PR07MB2517: X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 20:StPAWYTJ8l6ObFXi7V1r/vM9uV26gLX8prVrxzb7xqcQofEVelu7SeSKiePB4iyvew5XFORRadb17t3HlET05C9rRQ2k2YcHv74BLZtT+LFINWWfQx6GrKp9QyigjEusJWJu5G4B7cUYVPWKdQeuPYcsL1RQoHa3ookxe9npUWcSsYRe+5IpuYWJmmpDwqL8j7hkL6U9a4pGAiS3vyndw9Ob5Oqi/IKcU2Frr0n0bhCY466DDsABtS2R78v1KuefKtmUtLdz9maY5R9Gnq/W7oBbFV0f2DtG6zHPW2oV34zOYUPCHxk7WWPzsG1/g5aQ5J4H0+l2tAPCt0uxTXvvXjo0QuntSumgJgwsv/YcT2X1ZI+9nLj7yxS9tAL3wy8Rp15fdwWAeMi5SerlvbgoqrlMZ4na2kissAbp7Wui+L4BzpgT1Q571WrA1P5PmeY3NtDyl+LL31qp+7S4WN7KUiUmzWG/jKRPpq2X04+D+bqrz7layxSRTXagu1ZmVj4dv4du9eJMcG/i1DhtloSRLeyD31LoYCvn5YizehxAgx68X1z/KfJClw6aane+PwpPIS3jiIbfl9ctbq9CN9WuB4j7nZL/tzfRsUBszUgmUek= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(66839620246622)(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(3231254)(2232076)(944501410)(52105095)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:CO2PR07MB2517; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 4:PA/331RPYpZlV4qiK04QR46YQdK1UWLwxJaLcLYNmaq9Arq5Bt3e28YSq69OXiqqzZFzxpnRwEC+jl3MrLLFB33MC3e684oGO/mlUpaLndVAOa20GZDgnLk37VLuJZpTmFumgtgWAqu9MLGBL1P9JD5l7/XVlFdgQedgL6igsorbQ35j21Wxkw7VlxoDBIEFq5gZDKugxP2VbCff0RXudPHK6Ga+dOKI/dZvarIIGvCM/TJ8CsfcIGBskl1tmFWn0YsV6ADEQsQ10P0K0hScHhoppy2q6SSzbT1RmrBte9URkHhvCRY1edrDzOdgLyQAWcpEyzuFnVrNSpdhEGmyQDEqTX/dXnNmDXew4Ciu8+NhmE2Dj26zG56fzncSvupe X-Forefront-PRVS: 0703B549E4 X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(346002)(376002)(39860400002)(39380400002)(396003)(366004)(199004)(189003)(13464003)(50466002)(68736007)(6116002)(81166006)(7736002)(72206003)(3846002)(1076002)(8936002)(33656002)(81156014)(8676002)(23726003)(478600001)(106356001)(25786009)(33716001)(105586002)(305945005)(16586007)(54906003)(316002)(59450400001)(446003)(33896004)(97736004)(386003)(52116002)(6496006)(76176011)(16526019)(53936002)(26005)(476003)(55016002)(6862004)(47776003)(66066001)(2906002)(6636002)(6666003)(6246003)(9686003)(8656006)(229853002)(575784001)(956004)(42882007)(44832011)(5660300001)(4326008)(486006)(11346002)(58126008)(59010400001)(18370500001); DIR:OUT; SFP:1501; SCL:5; SRVR:CO2PR07MB2517; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB2517; 23:Rr92VhashU3cfKDnt+Qk50Acr81RVOf0gySep1sws?= =?us-ascii?Q?flicfbUK+H8XvDXtYzSCzWO20Ey5YUzlzDfqoNR24oKNDc8Rq2pfSO8wY4Av?= =?us-ascii?Q?AULykrVlgcxWHiw2Tg+9h090GeEGMnXVD0chrnAxdnBjKYnODGOnueZeSxo4?= =?us-ascii?Q?NzwuUaBDalK9XBAcOUyfI0NlZ/teSkfwKwm1DZgydgoBykPZOYDXSlOm/84N?= =?us-ascii?Q?qi8YvrHfydWxl9Qyd+tto0ZKGt8kCAUitQYiuNAiAkKetlHoDCH30g15tmKi?= =?us-ascii?Q?xdyS51iRUxTDahunlXUznYPRxO04SUEOXw1/FHANuISiAnBw0hdQh1LOEf+C?= =?us-ascii?Q?8UljLTx5YMI15j1Ptnc7bf6qNw3iZ3e1Gv1mSpKScEycFmMzuZbcCEiH/y8z?= =?us-ascii?Q?9jHUt2qQRATkQRwdi7efLbrKlFWSBgE0TRY+Rfm3QAIyqzfw672qkK2Esdai?= =?us-ascii?Q?MmWZ+P98GROXZgq04cyHPRoekT61a3UCMxkzGN1IxKpSDCFExSrvxuBPjarp?= =?us-ascii?Q?mgRHJuOus76FbicmlEEpe8+De7hMsB7pCCpalbBiLvIJJRVz95TjpyRl/8fI?= =?us-ascii?Q?kxhPqr+phrqPYvZdI4ggbGOM7877y/C1ZUKhjSETw4gbEpdM+6Y1uH7yl+DJ?= =?us-ascii?Q?LAxTUZEPuda23/BX3kBsjVSQHRhUQIWTto6/xaB1uDCv+1rcuVflv+d6o/ed?= =?us-ascii?Q?K8fSM+leEgbB1P7ESaHBDXXsalsee6mijoByzWPiElKmWVTx0mILa7Spnl/0?= =?us-ascii?Q?oKT4eIEQ2ZmBrnwhlQKTMk2UFbreWdefJx3g2RHlv5vPbn0p6gf9tuf05s9B?= =?us-ascii?Q?exWzIKcWpO+jsr+S4t7a6W3VgqfIb03gx59JBjEm9g87Ua61UNSRKjgAc4K1?= =?us-ascii?Q?1+9rEuvs0fn1T20r+II2kwK0V+PUdnPodvWRioEDNxZWRSJbr2J9oCAFB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E4A/ywo9AKYNYKI6tZzu0YV8OIoR0vvQl9H19HT4/bwcCpTJVykYjHLux99uh/z3aWYYC31XJ8z/lGby5LloD/WMF0pACm56tws3ReZ6h98m5nhbjmpmrKilDmhddtiqWYK51nNUcA/taZ3KQnQa8BlCKNLjBy8bQHAgV3jrcwscTJm+NsNRlPPITJ+j8ah44D2hMILbgY6hIsYo0SaRf++cYTPDcWmVW+YJETf94e1v8jH1Ke28GvdQxU4CR X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2018 02:56:54.3167 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 741928bb-3272-4fa8-722d-08d5d1a27ea1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2517 Subject: Re: [dpdk-dev] [PATCH 01/16] config: add Cavium CPT 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: Thu, 14 Jun 2018 02:57:01 -0000 -----Original Message----- > Date: Fri, 8 Jun 2018 22:15:10 +0530 > From: Anoob Joseph > To: Akhil Goyal , Pablo de Lara > , Thomas Monjalon > Cc: Nithin Dabilpuram , Ankur Dwivedi > , Jerin Jacob , > Murthy NSSR , Narayana Prasad > , Ragothaman Jayaraman > , Srisivasubramanian Srinivasan > , dev@dpdk.org > Subject: [PATCH 01/16] config: add Cavium CPT PMD skeleton > X-Mailer: git-send-email 2.7.4 > > From: Nithin Dabilpuram > > Add makefile and config file options. > Also add version map file and maintainers file to > claim responsibility. > > 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 > --- > MAINTAINERS | 7 ++++++ > config/common_base | 8 ++++++ > drivers/crypto/Makefile | 1 + > drivers/crypto/cpt/Makefile | 40 ++++++++++++++++++++++++++++++ > drivers/crypto/cpt/rte_pmd_cpt_version.map | 4 +++ > mk/rte.app.mk | 2 +- > 6 files changed, 61 insertions(+), 1 deletion(-) > create mode 100644 drivers/crypto/cpt/Makefile > create mode 100644 drivers/crypto/cpt/rte_pmd_cpt_version.map > > diff --git a/MAINTAINERS b/MAINTAINERS > index 4667fa7..1b4a8eb 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -504,6 +504,13 @@ F: drivers/net/octeontx/ > F: doc/guides/nics/octeontx.rst > F: doc/guides/nics/features/octeontx.ini > > +Cavium CPT > +M: Ankur Dwivedi > +M: Nithin Dabilpuram > +M: Murthy NSSR > +F: drivers/crypto/cpt/ > +F: doc/guides/cryptodevs/cpt.rst Move this under crypto drivers section if it is not already the case. > + > Chelsio cxgbe > M: Rahul Lakkireddy > F: drivers/net/cxgbe/ > diff --git a/config/common_base b/config/common_base > index 6b0d1cb..85e03a8 100644 > --- a/config/common_base > +++ b/config/common_base > @@ -631,6 +631,14 @@ CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n > CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n > > # > +# Compile PMD for Cavium CPT Crypto device > +# > +CONFIG_RTE_LIBRTE_PMD_CPT=n Please enable this option by default, If there are arm64 specific usage then please stub it out so that it can compile on all architectures. It will help to verify the API changes across the architecture by author.(i.e author should not depend arm64 box to verify the compilation changes) and enable distribution OS support like Ubuntu as they building with default arm64 config. > +CONFIG_RTE_LIBRTE_PMD_CPT_DEBUG_INIT=n > +CONFIG_RTE_LIBRTE_PMD_CPT_DEBUG_RX=n > +CONFIG_RTE_LIBRTE_PMD_CPT_DEBUG_TX=n This config option is not required when we are using dynamic debugging > + > +# > # Compile raw device support > # EXPERIMENTAL: API may change without prior notice > # > diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile > index 1d0c88e..a0515f3 100644 > --- a/drivers/crypto/Makefile > +++ b/drivers/crypto/Makefile > @@ -22,5 +22,6 @@ ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS),y) > DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += dpaa_sec > endif > DIRS-$(CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO) += virtio > +DIRS-$(CONFIG_RTE_LIBRTE_PMD_CPT) += cpt > > include $(RTE_SDK)/mk/rte.subdir.mk > diff --git a/drivers/crypto/cpt/Makefile b/drivers/crypto/cpt/Makefile > new file mode 100644 > index 0000000..b2d950d > --- /dev/null > +++ b/drivers/crypto/cpt/Makefile > @@ -0,0 +1,40 @@ > + > +include $(RTE_SDK)/mk/rte.vars.mk > + > +# library name > +LIB = librte_pmd_cptvf.a > + > +# library version > +LIBABIVER := 1 > + > +# build flags > +CFLAGS += $(WERROR_FLAGS) > + > +# external library include paths > +CFLAGS += -I$(LIBCRYPTO_THUNDERX_PATH)/include > +LDLIBS += -L$(LIBCRYPTO_THUNDERX_PATH) -lcrypto What is the external library dependency here? Does look like it is documented in doc patch. If there is something, I think, better to change LIBCRYPTO_THUNDERX_PATH to LIBCRYPTO_OCTEONTX_PATH > +LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring > +LDLIBS += -lrte_cryptodev > +LDLIBS += -lrte_pci -lrte_bus_pci > + > +VPATH += $(RTE_SDK)/drivers/crypto/cpt/base > + > +CFLAGS += -O3 > +#CFLAGS += -DAUTH_SOFT_COMPUTE_IPAD_OPAD > +#CFLAGS += -DCPT_DEBUG Remove commented out stuff. > + > +SRCS-$(CONFIG_RTE_LIBRTE_PMD_CPT) += > + > +# export include files > +SYMLINK-y-include += > + > +# versioning export map > +EXPORT_MAP := rte_pmd_cpt_version.map > + > +# library dependencies > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_CPT) += lib/librte_eal > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_CPT) += lib/librte_cryptodev > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_CPT) += lib/librte_mempool lib/librte_mbuf > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_CPT) += lib/librte_malloc > + > +include $(RTE_SDK)/mk/rte.lib.mk > diff --git a/drivers/crypto/cpt/rte_pmd_cpt_version.map b/drivers/crypto/cpt/rte_pmd_cpt_version.map > new file mode 100644 > index 0000000..9b9ab1a > --- /dev/null > +++ b/drivers/crypto/cpt/rte_pmd_cpt_version.map > @@ -0,0 +1,4 @@ > +DPDK_18.05 { > + > + local: *; > +}; > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > index 1e32c83..158066d 100644 > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -209,7 +209,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += -lrte_pmd_dpaa_sec > endif # CONFIG_RTE_LIBRTE_DPAA_BUS > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO) += -lrte_pmd_virtio_crypto > endif # CONFIG_RTE_LIBRTE_CRYPTODEV > - > +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_CPT) += -lrte_pmd_cptvf > ifeq ($(CONFIG_RTE_LIBRTE_COMPRESSDEV),y) > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ISAL) += -lrte_pmd_isal_comp > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ISAL) += -lisal You can add meson build as well here on the same patch. > -- > 1.9.3 >