From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10055.outbound.protection.outlook.com [40.107.1.55]) by dpdk.org (Postfix) with ESMTP id D5A4F4C95 for ; Mon, 22 Oct 2018 15:31:02 +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=lFu637PXW4ApFxDSJfBcd4idPLDbrQ0BQkREncsFPkQ=; b=YmCCikKRX886UEIcDuspATdrAQpxGwVrOAEhrFb7eBWgLwDBwBdVf0cYTnZJ3NoV/jvFqAKgz2mND6KK8Y2K6qMiyEVbvzCbxvYb49IYfPHxkIqcdZNZrvwOXxftZLuYa+nv/38EN1EIzuSfseTmgzk556e7/Y0qvSaJueyUFvU= Received: from HE1PR04MB1530.eurprd04.prod.outlook.com (10.164.48.20) by HE1PR04MB1433.eurprd04.prod.outlook.com (10.163.175.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.22; Mon, 22 Oct 2018 13:31:00 +0000 Received: from HE1PR04MB1530.eurprd04.prod.outlook.com ([fe80::95cd:198:d5c5:59a4]) by HE1PR04MB1530.eurprd04.prod.outlook.com ([fe80::95cd:198:d5c5:59a4%5]) with mapi id 15.20.1250.028; Mon, 22 Oct 2018 13:31:00 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , Akhil Goyal CC: Gagandeep Singh Thread-Topic: [PATCH v3 00/15] Introducing the NXP CAAM job ring driver Thread-Index: AQHUagt4dHwJeD404EmZckFMF+kZXQ== Date: Mon, 22 Oct 2018 13:31:00 +0000 Message-ID: <20181022133021.11264-1-g.singh@nxp.com> References: <20181012144055.9461-1-g.singh@nxp.com> In-Reply-To: <20181012144055.9461-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0016.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::26) To HE1PR04MB1530.eurprd04.prod.outlook.com (2a01:111:e400:59a8::20) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.142.187.166] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR04MB1433; 6:9XbtGdBghdMAaSKpM7anBW+VGHMJnUIbw+0glbWiPRrVDALZ09/bwrpS/35eyZwDCyvTEbF2jp5Av8api5HBvRexwbbFuN52X3JQd+5jTWoOzjNJDOn3NxeaHVJAdR6Qw5Ftzhiwgzx23b5nn2EhpGoiPFjeyGlRdzwf3Kz8E7/hjqv+QfoBPl2X43uacnLQ9HhkpPWUxdtljfApZo3MNM1e/hpht1O2F4pAklAnzcnI6KZrAmqBADxO/OtLt+RhfGxtZS7LkXFi2CSCctTjDdVUty50MB+PEgS7BGM22HGS07uoPGL+Vo5rni+jElvgBBEI25MmQIMseG68m6XGjatzKr+NWWdZt3tz4zWmaMQjPdjROSTljh/m0ssXkIxqr+yI1fNr8ew9nPqiJr3lOj1Bdv5ytSalpKgRwJiPXUOOgCvd+sLaPE3rU2ZH72u2S+WkfqIxMnCU8CoDM5M+gw==; 5:R3OQILrAto6j9pvOeg+yrFVnR2uODFga8C9eMM1gmZoqPAxxnhzKelgXpkaaYW6MMnmfH5tk23zbLWwJtHYtqDAzpIhTDzaIwEtd3P8tVNElXUNTt1P7y3mP+enJYbG4heEJuS9zz0OUsanrzRj/cLRUEEp4p/c4EosqBNpha1c=; 7:g6zeH6zau7qXN2uIVq6s3nFE8clHcb2N8NiWbprAMx/a0pVbQN+j6gJjrDevbG+t6dSICLH85tOc4TsZEI+edHRHOA5jhmwvxahjpJas1HIrJu1fJVNv8vMf7E33xlUcfQzFYSls+t2ziJer+UBE1h5LYczJ/RaPzlK5eF6Rg3m4yn84eyBsxnZNixHI/O76fi+mBQ8XE4rWB0ERrJ5vV1zHIAIYTkI2y49e1edi6Ylv9npyOhUrh34gfFmkBVKZ x-ms-office365-filtering-correlation-id: c811eed2-fd82-47b9-3e2d-08d638229a9f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB1433; x-ms-traffictypediagnostic: HE1PR04MB1433: authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(192374486261705); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231355)(944501410)(52105095)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:HE1PR04MB1433; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1433; x-forefront-prvs: 08331F819E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(396003)(376002)(346002)(39860400002)(199004)(189003)(6636002)(386003)(6506007)(25786009)(4326008)(5660300001)(2900100001)(316002)(3846002)(6116002)(1076002)(53936002)(78486010)(71200400001)(71190400001)(6512007)(36756003)(86362001)(66066001)(186003)(97736004)(5250100002)(2501003)(68736007)(52116002)(102836004)(486006)(446003)(8676002)(81156014)(81166006)(26005)(217873002)(6486002)(7736002)(305945005)(2906002)(6436002)(76176011)(99286004)(256004)(14444005)(478600001)(72206003)(55236004)(14454004)(8936002)(105586002)(106356001)(110136005)(11346002)(2616005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1433; H:HE1PR04MB1530.eurprd04.prod.outlook.com; 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-antispam-message-info: bQkrVWNhJKqoIw/ia6bY8clKvIkxbcivku55rft/LW2XBcg6fc4itYbWSn4xvI3ChRkBUyoqX21DSv36UAZit/rwRnm1+xAa7gIGN9+peHg/axJVv50VOv0VmljDc6CNbRyJFXcmGLOxkf1IAqqynDXyLdKZrybsQRkmibpDbR40HVN67lchqMcl72cUwEP8jVmSepJz3v+9rSdiPKf6o+oXYABXz8iPc/JMN3ysSKq5FNDJLnat7WVLmN26bAfgl1zu1CDeL5DMvYB6wuheHMZDwtsSJ7roB1nRbPsVebckfT+/y6OE4Ndsydm2ge75GeNpuVujvJNcndFIA6UtVqHv3lvXQZJgltWvYzWlOfQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c811eed2-fd82-47b9-3e2d-08d638229a9f X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2018 13:31:00.2001 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1433 Subject: [dpdk-dev] [PATCH v3 00/15] Introducing the NXP CAAM job ring 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: Mon, 22 Oct 2018 13:31:03 -0000 v2->v3 change-log: * fix CONFIG_RTE_LIBRTE_SECURITY=3Dn compilation. v1->v2 change-log: * Most of the checkpatch warnings and erros are removed * CONFIG_RTE_CAAM_JR_PMD_MAX_NB_SESSIONS and CONFIG_RTE_PMD_CAAM_JR_DEBUG flags removed * local unlikely macro removed * extra spaces removed and functions format fixed * indentation fixed * documentation is updated * dead code removed * device capabilities added in separate file and=20 functions added to access them. * missing PMD_INIT_FUNC_TRACE() added to the respective functions * description added to the all patches * some patches splited (sg support, uio, capabilities, hw) v1: The caam_jr PMD provides poll mode crypto driver support for NXP SEC 4.x+ (CAAM) hardware accelerator. Gagandeep Singh (10): crypto/caam_jr: introduce basic driver crypto/caam_jr: add HW tuning options crypto/caam_jr: add routines to configure HW crypto/caam_jr: add UIO specific operations crypto/caam_jr: add basic job ring routines crypto/caam_jr: add device basic ops crypto/caam_jr: add session configuration methods crypto/caam_jr: add device cababilities crypto/caam_jr: add enqueue dequeue operations crypto/caam_jr: add scatter gather Hemant Agrawal (5): crypto/caam_jr: add queue pair config ops crypto/caam_jr: add statistics ops crypto/caam_jr: add security offload doc: add caam jr cryptodev details test/crypto: add CAAM JR driver validation test cases MAINTAINERS | 7 + config/common_base | 6 + config/common_linuxapp | 1 + config/defconfig_arm64-dpaa-linuxapp-gcc | 3 + doc/guides/cryptodevs/caam_jr.rst | 150 + doc/guides/cryptodevs/features/caam_jr.ini | 46 + doc/guides/cryptodevs/index.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 5 + drivers/crypto/Makefile | 1 + drivers/crypto/caam_jr/Makefile | 44 + drivers/crypto/caam_jr/caam_jr.c | 2568 +++++++++++++++++ drivers/crypto/caam_jr/caam_jr_capabilities.c | 268 ++ drivers/crypto/caam_jr/caam_jr_capabilities.h | 21 + drivers/crypto/caam_jr/caam_jr_config.h | 207 ++ drivers/crypto/caam_jr/caam_jr_desc.h | 285 ++ drivers/crypto/caam_jr/caam_jr_hw.c | 369 +++ drivers/crypto/caam_jr/caam_jr_hw_specific.h | 503 ++++ drivers/crypto/caam_jr/caam_jr_log.h | 42 + drivers/crypto/caam_jr/caam_jr_pvt.h | 295 ++ drivers/crypto/caam_jr/caam_jr_uio.c | 503 ++++ drivers/crypto/caam_jr/meson.build | 17 + .../caam_jr/rte_pmd_caam_jr_version.map | 4 + drivers/crypto/meson.build | 5 +- test/test/test_cryptodev.c | 138 + test/test/test_cryptodev.h | 1 + test/test/test_cryptodev_aes_test_vectors.h | 33 + test/test/test_cryptodev_blockcipher.c | 7 + test/test/test_cryptodev_blockcipher.h | 1 + test/test/test_cryptodev_des_test_vectors.h | 14 +- test/test/test_cryptodev_hash_test_vectors.h | 14 + 30 files changed, 5555 insertions(+), 4 deletions(-) create mode 100644 doc/guides/cryptodevs/caam_jr.rst create mode 100644 doc/guides/cryptodevs/features/caam_jr.ini create mode 100644 drivers/crypto/caam_jr/Makefile create mode 100644 drivers/crypto/caam_jr/caam_jr.c create mode 100644 drivers/crypto/caam_jr/caam_jr_capabilities.c create mode 100644 drivers/crypto/caam_jr/caam_jr_capabilities.h create mode 100644 drivers/crypto/caam_jr/caam_jr_config.h create mode 100644 drivers/crypto/caam_jr/caam_jr_desc.h create mode 100644 drivers/crypto/caam_jr/caam_jr_hw.c create mode 100644 drivers/crypto/caam_jr/caam_jr_hw_specific.h create mode 100644 drivers/crypto/caam_jr/caam_jr_log.h create mode 100644 drivers/crypto/caam_jr/caam_jr_pvt.h create mode 100644 drivers/crypto/caam_jr/caam_jr_uio.c create mode 100644 drivers/crypto/caam_jr/meson.build create mode 100644 drivers/crypto/caam_jr/rte_pmd_caam_jr_version.map --=20 2.17.1