From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0042.outbound.protection.outlook.com [104.47.1.42]) by dpdk.org (Postfix) with ESMTP id 583F41B146 for ; Mon, 22 Oct 2018 16:57:25 +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=rizqIYJvjkTlMdiOn4KR+sh2NZgZUW6l10eaGdcD9e8=; b=AVkAN3qTttQzuT+87PF4TW0bhRsREqWlVR8ZlWbz45hPWGSIaKqVp7ERW18v7OR44QASquAUBP0jvi5mqtHw2phhqPCtWzIxcrLLyeam+OPDxZRIf057ca24d3nilr+CY/kP0JJxwWsfD91Trv55H3zPcBuGIipKh+GWp+OS6XY= Received: from HE1PR04MB1530.eurprd04.prod.outlook.com (10.164.48.20) by HE1PR04MB2105.eurprd04.prod.outlook.com (10.166.67.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Mon, 22 Oct 2018 14:57:21 +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 14:57:21 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , Akhil Goyal CC: Gagandeep Singh Thread-Topic: [PATCH v5 00/15] Introducing the NXP CAAM job ring driver Thread-Index: AQHUaheIPXvR/++jaUis8/TZJJEPLw== Date: Mon, 22 Oct 2018 14:57:21 +0000 Message-ID: <20181022145644.29277-1-g.singh@nxp.com> References: <20181022141657.4727-1-g.singh@nxp.com> In-Reply-To: <20181022141657.4727-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0067.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::29) To HE1PR04MB1530.eurprd04.prod.outlook.com (2a01:111:e400:59a8::20) authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.142.187.166] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR04MB2105; 6:28swnFihVuSMUX9geB3kPFN+QJqJuIY99PntRkSHzPqoqrj6r585WuF1p0qjVhuuNw6aTgsmIzjNFofC3HSN8RVtXb+quRFWCQhHHOYHPZhmdHZ56C/PPZKiS/BUW7AQAUglFCwhHLMLGU7yfYzeajlASKtOVaxFQdInmlOMb36OWscBS3+vH+xa9qI9Y8wJdAIAiJReeoMBJ517afZT4GlCsbUolMbipfb0qQuwl5R7+9XJHYFQSM32KMy2INtTmqLtepFOzSC4xuX0QaGGiYW+DnXcXgHXW+sJxkn2U+0QPvGyH4V+ulda8Uk50U6Taiue0QusBSupwv+tPeslB/1HaNB3JDtgaRlrGX+na5xBcLnh2gnL2r/vlcvD1yTk697MotrYvNXULfKbpzZR3IMxPgMiH5R5BE8/4Wwt3FcD9ehU2JZ1i8XDfUW3Huv1OHdrCS0kbXZ7TaPBVohKfA==; 5:zQvsSGuouULzhngJaZyZ/ZGi/wlk8Q/3EMrCqtyCSTpo/l1rczRCAiosHgZeS+XpIgDuonLneBOK5dWEU77RVPDIk0YBBZHC3se1HH+7KarabqCjrG7q0Vd/CC9TBSxBP9tC3ipn6JQpECuIe/hkym3hRFeNh3z0jhpdBvhRVBg=; 7:9wogYabZbnPYLVY6myyp2DCZxQKyopy5Udt9tcH2S5Ju5ixYTI1N8fTd0gLo6Shx+9y6p5k9wAYBvr/BEL+sYVZ8bvHx38BsKA0b3/xXXpz2rh30JCHCI8Izuk0w1X7eUq8Mfw3tYRiZuwffQkaqSdKa89nGuHd8P7R6jW1OMsBxpqgL/sM/L/jgvzBNNe0RUTfS0TocsN4A8zw32kp4kreldTUcEbphhf9NEm7rlgysVnB2XmRJpfZ/bHy3Xtf1 x-ms-office365-filtering-correlation-id: f7af2faa-0fdb-4aac-d5b7-08d6382eaacc 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:HE1PR04MB2105; x-ms-traffictypediagnostic: HE1PR04MB2105: 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)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:HE1PR04MB2105; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB2105; x-forefront-prvs: 08331F819E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(376002)(346002)(396003)(39860400002)(199004)(189003)(14454004)(52116002)(186003)(8676002)(217873002)(386003)(7736002)(11346002)(478600001)(6506007)(36756003)(78486010)(66066001)(2900100001)(14444005)(2501003)(25786009)(5250100002)(97736004)(6636002)(316002)(5660300001)(68736007)(99286004)(71190400001)(53936002)(71200400001)(4326008)(476003)(2616005)(110136005)(2906002)(106356001)(26005)(102836004)(256004)(6512007)(55236004)(76176011)(72206003)(446003)(6116002)(6486002)(486006)(3846002)(8936002)(305945005)(81156014)(81166006)(86362001)(1076002)(105586002)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB2105; 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: pZFJuev+spliVVtAKuWg46SPTVq0VyrvQ/uKd7Ubz2Sc5+jXpEAOJLXmrsFx4YCzt1ORfjk4Qr5UJGOiK07Rpl0bpFXi3Tqo9oi3SgqKbrPhispql1ni3BRBCYavgYEAn8ixrTMTlvjh1xxcwA9t5ud+BlNIChALn+9DfXySXZApn/0pLN9v7uWunoVT0bjJkg344awrTe22g+8+wm1gyIE46KiuGAHC5aROo5ZfwB2pchBIAA8Eaa+8sFag9XlccQ0F2GHRzD2zWYsdLzHknBzQZYTBEcLwK5nCxtDYqHJf84xFZerZb0DtNFKsGppd/ym3Fqge9jrEonSLlZ3sd2REo+Wql5vfSJsa20xjncc= 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: f7af2faa-0fdb-4aac-d5b7-08d6382eaacc X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2018 14:57:21.3903 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB2105 Subject: [dpdk-dev] [PATCH v5 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 14:57:25 -0000 v4->v5 change-log: * compilation issue fixed v3->v4 change-log: * local dma_addr_t definition removed 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 | 2570 +++++++++++++++++ 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, 5557 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