From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40060.outbound.protection.outlook.com [40.107.4.60]) by dpdk.org (Postfix) with ESMTP id BC7CF5F1A for ; Mon, 22 Oct 2018 16:17:35 +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=FHfmW/qmDGjNzQM1/Azy/dXQdIjQgo0MdmLg7M7oBk8=; b=Pu9bbhcWFUGJCp0kYZVt6+sbj5ncmkJG/XohEse+8BCW6vuur9IsD8j81NvV3jUTsRIwx3TPCHxnu+wItFo8LNkOlvaSNb4rd31rBE1GyD2mUC6956TQS4T0pVoXtCWbUpsaYVpWN1KdC0chCjNwaibX0b+8rVxlFFEfkW+62qk= Received: from HE1PR04MB1530.eurprd04.prod.outlook.com (10.164.48.20) by HE1PR04MB1051.eurprd04.prod.outlook.com (10.162.26.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.30; Mon, 22 Oct 2018 14:17:33 +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:17:33 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , Akhil Goyal CC: Gagandeep Singh Thread-Topic: [PATCH v4 00/15] Introducing the NXP CAAM job ring driver Thread-Index: AQHUahH5ZjdpD4A/M0SQXBoRKbOJPA== Date: Mon, 22 Oct 2018 14:17:33 +0000 Message-ID: <20181022141657.4727-1-g.singh@nxp.com> References: <20181022133021.11264-1-g.singh@nxp.com> In-Reply-To: <20181022133021.11264-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0025.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::11) 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; HE1PR04MB1051; 6:Z1nei+5MMlkUo0f7PX07W0aRvrULO77prvi/s0PVL83St+cUgjPFqW84F3Nn0kRcZLecvFpBaZYKEwny5/GeKXWLDZf6zWwyZeG7fXy3oTPVHz0gyWxRdDdCaWuUzWWj82w3iWdy4Uun1UD5mKQNlCdBgLqiK1vl7qOzz+jwZKsBSyYOPR7f6BiWsuU840/H25yt7j0nqpAbb7Wj67Q8p2jQSwObUDS0op1JKy31aQYCvQaBKQQYs/sXkuRPoRPW+TDjVcVKr35d7L1SXnDGCwbOEbj5S1s+jlR2DE9QIneJIAajPv/WT55fZykxC23vjq1SQ9Tf4aJkUtIG7g/5sWk5lwszFSqJW8vqLVmPuPzBBv4ZF6FGJkVBxwDdAdFsVYZYar4MLlpDNTXGLPtOg1v1xAEJp90ieKbBuY2FwCl/k5skz0LgqYN37v/NhcPfL95xpanMLhloh+qHDfcm0g==; 5:2h9KCkGYUHdjpjYY0GZCYYCL9flLyHua+K+yrbCm+Ynlpb7UmthPRHaOghVNQ2xfamkCMELjAamUpygyR83VPnqTOGIEPmnE6MxqWjumlAMHu0LZJCGy5FIIEMLQS7bHXWYaSOK1mRZxW2V8wUhMyMhWjCATXNwwGbjplXyZts8=; 7:i+5q3Ukw5hpeIYkUeE2atgNGpjOj9kwaOGS4Iw7iOetWbpBLn83tpx2GQLnuRKMiRIGxQa+TUftfNKU5JT0aRwdnz0zRHJVNzyRv9SO3F1XW7PEVQISK3o5bC/K1aRocHjFMCHfFE/TyibOF7VcF+GMfBOHl3e+QABbzFMvcBA1JQeN4eKDoqYsrsmq4rI6MaGLRwCbaEs4aPY3Ce2rT4m4r1hG/B90RY6dncWTUcy4lW3bA5i/9TK01s9RrTUit x-ms-office365-filtering-correlation-id: 865dbf53-265b-424b-f808-08d638291b5d 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:HE1PR04MB1051; x-ms-traffictypediagnostic: HE1PR04MB1051: 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)(8121501046)(5005006)(10201501046)(3231355)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:HE1PR04MB1051; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1051; x-forefront-prvs: 08331F819E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(39860400002)(136003)(346002)(376002)(199004)(189003)(14454004)(486006)(256004)(14444005)(3846002)(7736002)(4326008)(2616005)(2501003)(11346002)(6116002)(2900100001)(110136005)(476003)(78486010)(72206003)(6512007)(8936002)(316002)(36756003)(6436002)(81166006)(71200400001)(71190400001)(478600001)(68736007)(86362001)(52116002)(53936002)(186003)(76176011)(446003)(81156014)(6486002)(8676002)(102836004)(217873002)(26005)(55236004)(66066001)(6636002)(105586002)(5660300001)(305945005)(106356001)(25786009)(2906002)(97736004)(386003)(6506007)(99286004)(1076002)(5250100002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1051; 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: rWJzJdkOAP/TxNMQTj4BpZwXi2vctq5KhB9fmh4mpOQr0hHDd9TepnmkKnPieO7XqfvSaYWjUKEdJSBDgc6g9O1RpcetXlpJuG4ZwgdTXcO2KKMOxB1GisBIRzNSDAAsQvzJTQLeaWUcPZvVkGt7/f+lE41fEA45kl0yj6oiXxworEtEqJoEeH3TO4w+6IKaRMMKyry52hpsDG6f+BsdZw+TrPM63XN47HyWClj42PxLijF21pH+uTfdGJjacFbijKpTCZPebD+P0SQzpk3WNTyzM6A9tVUqWdXXyqYJoM6trlMuP/TyS7vRyiNQTwLxOlumhyNo5n2TuLHn7KxHx2XNC4lAuvloI3LpRLxbyLo= 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: 865dbf53-265b-424b-f808-08d638291b5d X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2018 14:17:33.0747 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1051 Subject: [dpdk-dev] [PATCH v4 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:17:36 -0000 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