From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-sn1nam04hn0243.outbound.protection.outlook.com [104.47.44.243]) by dpdk.org (Postfix) with ESMTP id CAC3C5F13 for ; Fri, 8 Jun 2018 18:48:30 +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=lZtT4rzuOzPi5GOGwqWvWBN0HQiZbiFielqb1a54m54=; b=ZHWC4VGkd4dkFEQKtls7r1zcQoBSZ6haFKPVqZqFflN5s5fEcqjqy9V79+ocfjRQTurnc/I1THEbcGAX44EkJt47xhnCcwNy8t4XuBqtM7JuFRJ6U0GKx9BKMDh6mCRBr58uKOHRf9SpHy6qlvAtPK+r1KCbyZWcFd4V7t/KEgM= 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:48:25 +0000 From: Anoob Joseph To: Akhil Goyal , Pablo de Lara , Thomas Monjalon Cc: Anoob Joseph , Ankur Dwivedi , Jerin Jacob , Murthy NSSR , Narayana Prasad , Nithin Dabilpuram , Ragothaman Jayaraman , Srisivasubramanian Srinivasan , dev@dpdk.org Date: Fri, 8 Jun 2018 22:15:09 +0530 Message-Id: <1528476325-15585-1-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 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:m30orrfKUU8FFXwc9GxUHNkVz7pCrNWdq7EGMNUnfEbSzerAAazRRtuL8iWCnCUtOsMXsuVSOBrK9G5y+r+rvV8ivG8W+7D+dHx3+VgLSme6EPYTHNRz3eYd4m7DUKIYL66nQYTPlJxO2otKkjawH1LM/2XIB6MkF1dJOj3BcBEpqVeQ9GiIA6r3N1nDp5UmnQXpe7epYC8T4OZyi2XtEbs+EJ/oJOQIiAQGcjlyiYHDNzyuruZAOU1LOazEnYq0; 25:TdMTGeLfrZwR8Nkd9LOWRPH8zIb9ze8g5SPJH7xlilFUTLulnTQxQA7wesErvvWFR/i1X0VqT4tB8ED/IV9K8rBiyfZv9KnLopI5Lzov4Wu3BFsfggFShKH3j+2tgIvkGE8pEHrsVJ2JSxNgMqzQjnOWf3l7VRWFSCSoYBlamTxjzJL0wbn+KIkN9afqI4+badvosEhK3sUdZfiQOjVVqp1NplbdLu/DBsgD2l2PE/QrMgP2EELKIROR2RAasb2UfEBWOu5Th468wb9giRdcblpu0rZ/gldxc1MqBRPVz4KMblrw3KIE2CVAQEvRZndfStKD2RA+IfFZufAY+D5cAw==; 31:/nJFcaLAzcmfGuQUnQfUJSTVsWp6dybrhdB0CoojymK2FPnExhpDd2Jxu/UwZOZvju9hwe5CCUxx9h3cdiPFhjqwaakxVfw5vjFJ/O0DSvrhSCFpq/teIOM2TB7JDB7VLJmj7eN0qKxX5fyl51qyowfSlxBd2HNKcmEOpQYNQHz7gqcu7Hg6EqjdK4NLH5VUUHYTAQYHzI0APPb0m59Xj6TZpc8oXt3vp2TEj4Ou5hU= X-MS-TrafficTypeDiagnostic: SN6PR07MB4911: X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4911; 20:2IZAA7XBYu2sysKGSD3V2KlYAcIJbs9coqHJ/LlSXr66h+jsX3vLZEeebUzGqDGNF9hapmISpgy2rrQNGBvHH9o1DCaw8Yk7v7jpttGy7Bq6tijF3OKtnvzA3Ued1ccvoE60+2/shw8Fq1zs+nuOEdpmlA5ROoJjKz+khGaqWNVM4OB1hnfe9CVtIgKBdWCc+qDE0l9wBESoJr0ReaHfzefRjIE5KgOmYCcMNVENQC+VNlkdyKtBbKu/pt9lEzZcCXpQIjh5notmeEtd9drUiT9hIlpZC5A+kZySOg6XB46tFJvgRlu7JUNfyGVvSs0hOhflqWKimlSTDabrAwncM4b8VlyhBHZjuHi2e9zEurbzv485Kvqd1SHwEKIiALAiLPbGHTpYGVahwnwUJPj+lOYieWEn9ZanmIXlELQVd83/6ZR1ihXygxX9g/1DY5VMH/ZP4qfCfTJF5V1B4wXBOQFxAto96OA1nPtTCcOGrzDQyiDZ+0F1a/CQ1xpk+H1hx9aL7AmDfYceuqYTF7HFx4SlnulqUD9vfWcASjlODha/bUmOqy3xOrfnk03wzadp2OozB7WpKuAMYzw2FqLYI+sBcANVVhJiOz8E1QWWr4M=; 4:HqeWr2QThurJXYC5t7/tiQf62tc1RrYBtTRFOpnngfsDNHzYqBSjiaoB9M/YDQ2ExS3KUBSdM6jMLGMuh/8ski8nOUlLt5V7azxh7AOe+ToSFirlOuqiZ0HWCcq40Ks+hPriDMhVI/W16+LqtBiA3Kj+1z/G83rKLRaxKZS2I88KAVvNg1jIb51IQ3mXZw1/OhPU8W3/HMdtBUfsYbcuKtHb2eWh30JOt5bSN/jX1eeG4UeFpsXV93RBJZQ/3LbM0oVDt3XWBuZYzQaCMK8cuhpwVv7SYCkx8MVzgWJ4EFkl7pS2FL9p7WKN0awOcN4z X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(66839620246622); 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)(2232076)(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:SPM; 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)(36756003)(110136005)(66066001)(8656006)(2906002)(316002)(55236004)(16526019)(386003)(186003)(59450400001)(476003)(42882007)(44832011)(2616005)(51416003)(59010400001); DIR:OUT; SFP:1501; SCL:5; 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:ri/mn99/BV/wVD4VlOfo8Gbb560E24G1z9SurVoKA?= =?us-ascii?Q?m4qlJKCaMNOcZEjuMoiCxj7MfLxVggsmo2k2HIbHhY0VO9y1RegF4XVr1im1?= =?us-ascii?Q?vS5CHmSz0AvhRj6VJSt2hcHn1GKPWzYkaZZsQSsghR/dEXO0MM4bQjWyDaXC?= =?us-ascii?Q?44W8HG6ck0BkZSonPF1+gf+fD5wwII+h0TkXtyHklcfP42kbM5azPwzlR5C4?= =?us-ascii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+E?= =?us-ascii?Q?kqL+ccAXAZ2xjRYD81eysScjPTNRen1DNERt5RE2AV70FPFWxGTMXB3/qWHu?= =?us-ascii?Q?b11Yj1fwulYcna/fVJPEO8TCa6UjqdVXakT+eigP1a32X/AIhsccsMu+oCXD?= =?us-ascii?Q?z9RGhOrg1r68cpI1IiKtfNNBnA1qhSHldSx9sI8H+93PIONHM1r/+J9CDQaL?= =?us-ascii?Q?ZJtYHOl+dpHKfkMp1O8WiA=3D?= X-Microsoft-Antispam-Message-Info: BBzx+Vl4+U40B32n1Wq4jOrRKnQ7tBn/SqUu1/E0IFG9iy2rcK7YWQxzuHQiIQbkjy2x46LCvhdtGF8Teuu/DOwirYoPsX/F6Y44eEDY1NZk2yt40HL7JRPKWe+8UPoh2DFp/fDXhwW435Ky6Z7tWWNas72WR2f/Yzf4UsN1IRepxc+w3/0mfH74+//y85KoCvUNZLg9gIdBOMslVxFmNv1TYyMEJ0j1WE8mMev792GEu4tWhqRJvtqVX5z11EhUw2Vlazyqc6alSljnxxeSn69tMDFZSzIhVyrnSyJrKkkJKo0tjze713ZzzorzOa/rXU5qaTQAWg1V+faAOnuadaywIeC0lZzi41hsms+cp7jYi5XgYNttN4kA0jdpPq3RKH913y8K6ovDa5kCkiKz8be7e5IauBo0gpTGJAFe/EtvFhJ4rxTJeiugRi/Uz2jM1tS87ICYqb9kNWaW61h3bOjFOwD/4afD2C4S+BiuGHfXjwCSLMive97Jlu1zeC4XHtntsZvX8F+IeQYBWtOLAuO3NdKeVGg+hluTlmzjLiI= X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4911; 6:+XuN2cix6hiW9Mh83SnsOqKoTvKEQqT5GHkwqO9vvm1u3x37fZDMJ1JfxxN41pb/mp5Gmh6ry/Tx8iCdSTta0A28N6qhFD5UyarqSBl2LabVl/8JN2hXSkzvjjIn/uCjsrVr/2BWnU6HFsEQihWbOVSVbm78mfmFpKCfTl56Yw2gG+nvTykJLtoivmj3w7BDCnZP978914uKA8hih9NJoUT7atPFMDtlwdWTHmS37N8Nv2X5Dnt4a8iYyWpAYMB9k7cFc5FbVdV5VUnE9XshouRB5egis+LW0WLq0JZ0yFfCzcO0ZoBH+urneAlK59iYyhb3Jas0zhfRw7CdUABLdTmuVBCy8I/yY+mNfS5qSYiGFACWS3yjCZrEiXw0rkqX8hmNNAiw0h3qQa4VBRwXNqDOKx5U2Neq1R1FNXNEAyqXc0BSwP2WzK5GS8jAkgMrj8qz0mmxHjGQNn+8PKER4YOZFKjNBOVLVG+oVK5j1V0TEvh/XKuSOS5ayaoMKe8H; 5:8R1m8uA3JAZkETzOZRM39v5Iw8jcdcexOimmi2errDDZlg5QiazAJjdF67nZoWsUz7WpnrgBwZgXq9X20fd5wE8SCDe8keCKlJNQX4oJLJmiLQn28FsijziLnuFM77ZszOH6O2L5Qk0ThW9GAkw7mZ0S65qgzlvEXNneTMJohIA=; 24:GuHszUHtk3pgSCz/nZghn54ezcLyqTe1pAcvUJ5ozxrxB+CVP05n917KY0KHThFtYDp7Z87KGsrffxcnbIZG8g== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4911; 7:+haoph47HjDy5v1O7gIeZE02AyDCSRBvd9Eg6jbJraYMU/IUNqPpwwObVGLaakMtjbOLWeU0zNgYNzy1S0PEKDAswFSEHAetYw2QGu7BYCHPreKzaXKotuxKTSSqwrske453sDxuQfl8yzxRW/y4Z5IfvDLDUxGAylJrOpTVzC4LzZ2MTxOr8OhSrKFNXw5e/MUo8FO4GM1aGC2dda/u/slxEPwQ3gpTqwywb+H9NiqrVrPIV4TAnS2nVhB3G99a X-MS-Office365-Filtering-Correlation-Id: d53628cf-7f64-4466-979b-08d5cd5fa9bb X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2018 16:48:25.4795 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d53628cf-7f64-4466-979b-08d5cd5fa9bb 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 00/16] Adding Cavium's crypto device(CPT) driver 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:48:31 -0000 Ankur Dwivedi (4): crypto/cpt/base: add hardware enq/deq API for CPT crypto/cpt/base: add sym crypto session init API for CPT crypto/cpt/base: add sym crypto request prepare for CPT crypto/cpt: build with meson Murthy NSSR (3): crypto/cpt/base: add request prepare API for ZUC and SNOW3G crypto/cpt/base: add request prepare API for Kasumi crypto/cpt/base: add prepare request API for HASH and HMAC Nithin Dabilpuram (3): config: add Cavium CPT PMD skeleton crypto/cpt/base: add hardware definitions Cavium CPT crypto/cpt/base: add hardware initialization API for CPT Ragothaman Jayaraman (3): crypto/cpt: adds the session related function callbacks crypto/cpt: adds the enqueue and dequeue callbacks doc: add Cavium's CPT guide Srisivasubramanian Srinivasan (3): crypto/cpt: add driver initializations crypto/cpt: add the basic device callback functions crypto/cpt: adds some more callback functions for CPT MAINTAINERS | 7 + config/common_base | 8 + doc/guides/cryptodevs/cpt.rst | 112 ++ drivers/crypto/Makefile | 1 + drivers/crypto/cpt/Makefile | 49 + drivers/crypto/cpt/base/cpt.h | 231 +++ drivers/crypto/cpt/base/cpt8xxx_device.c | 200 ++ drivers/crypto/cpt/base/cpt8xxx_device.h | 85 + drivers/crypto/cpt/base/cpt_debug.h | 231 +++ drivers/crypto/cpt/base/cpt_device.c | 383 ++++ drivers/crypto/cpt/base/cpt_device.h | 162 ++ drivers/crypto/cpt/base/cpt_hw_types.h | 836 +++++++++ drivers/crypto/cpt/base/cpt_ops.c | 2756 ++++++++++++++++++++++++++++ drivers/crypto/cpt/base/cpt_request_mgr.c | 424 +++++ drivers/crypto/cpt/base/cpt_request_mgr.h | 75 + drivers/crypto/cpt/base/cpt_vf_mbox.c | 176 ++ drivers/crypto/cpt/base/cpt_vf_mbox.h | 60 + drivers/crypto/cpt/base/mcode_defines.h | 215 +++ drivers/crypto/cpt/cpt_pmd_cryptodev.c | 271 +++ drivers/crypto/cpt/cpt_pmd_logs.h | 50 + drivers/crypto/cpt/cpt_pmd_ops.c | 1936 +++++++++++++++++++ drivers/crypto/cpt/cpt_pmd_ops.h | 96 + drivers/crypto/cpt/meson.build | 16 + drivers/crypto/cpt/rte_pmd_cpt_version.map | 4 + drivers/crypto/meson.build | 2 +- mk/rte.app.mk | 2 +- 26 files changed, 8386 insertions(+), 2 deletions(-) create mode 100644 doc/guides/cryptodevs/cpt.rst create mode 100644 drivers/crypto/cpt/Makefile create mode 100644 drivers/crypto/cpt/base/cpt.h create mode 100644 drivers/crypto/cpt/base/cpt8xxx_device.c create mode 100644 drivers/crypto/cpt/base/cpt8xxx_device.h create mode 100644 drivers/crypto/cpt/base/cpt_debug.h create mode 100644 drivers/crypto/cpt/base/cpt_device.c create mode 100644 drivers/crypto/cpt/base/cpt_device.h create mode 100644 drivers/crypto/cpt/base/cpt_hw_types.h create mode 100644 drivers/crypto/cpt/base/cpt_ops.c create mode 100644 drivers/crypto/cpt/base/cpt_request_mgr.c create mode 100644 drivers/crypto/cpt/base/cpt_request_mgr.h create mode 100644 drivers/crypto/cpt/base/cpt_vf_mbox.c create mode 100644 drivers/crypto/cpt/base/cpt_vf_mbox.h create mode 100644 drivers/crypto/cpt/base/mcode_defines.h create mode 100644 drivers/crypto/cpt/cpt_pmd_cryptodev.c create mode 100644 drivers/crypto/cpt/cpt_pmd_logs.h create mode 100644 drivers/crypto/cpt/cpt_pmd_ops.c create mode 100644 drivers/crypto/cpt/cpt_pmd_ops.h create mode 100644 drivers/crypto/cpt/meson.build create mode 100644 drivers/crypto/cpt/rte_pmd_cpt_version.map -- 2.7.4