From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50076.outbound.protection.outlook.com [40.107.5.76]) by dpdk.org (Postfix) with ESMTP id BB0641B8D0 for ; Fri, 12 Oct 2018 16:41:36 +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=bZKHna0GWCilcuYpqtzVIhIVNhJ1FA6tIfKG1xEuLR4=; b=N4bXxPKv8zzsP8G4LtrN/9OQ9z3c8/PJs1gGS+AqPVKVE+jed42BN980QkfJEdnYWNNn0krBL2hAs+/cT9K9+VP9OUDmjmaspIH5K5PFc2ihX7aoez5K8EwsvUXR4w//A9+QmwdbxMo0k0m40KtV3J9ghNQHyq7UsJ7grjJlCqA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by HE1PR04MB1530.eurprd04.prod.outlook.com (2a01:111:e400:59a8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.23; Fri, 12 Oct 2018 14:41:33 +0000 From: Gagandeep Singh To: dev@dpdk.org, akhil.goyal@nxp.com Cc: Gagandeep Singh Date: Fri, 12 Oct 2018 20:10:41 +0530 Message-Id: <20181012144055.9461-1-g.singh@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180913060846.29930-1-g.singh@nxp.com> References: <20180913060846.29930-1-g.singh@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0039.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::25) To HE1PR04MB1530.eurprd04.prod.outlook.com (2a01:111:e400:59a8::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c9493164-66f5-4895-a866-08d63050cefa X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB1530; X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1530; 3:iCjXPnwvUsPnISn3V8MTGZANMcwz//N2Q9j9ogP0FCj8ca3MkYBuvXh1A0lQmWflyzioOBX6IdML8U6pY57r8/MFaee7xsf8St8LGUu1if9W26qEPtcRUSOEzD/s+66g7kyhHTTmrYHQRIGHPf6OEXPfmFFPMLbnmnOtsS1wSCqy9cuZAcryuJDpZb+qb987LRQnC6AH/LhiFLldsHQDYCwMs0BRt/5UmmpUwmbjE+P+OsYklqZXjWYr1ldFH3ie; 25:q8WLrc/Bgid/Vltg3V+o9FTPC5zyUigB2l7guqCB/vmaIPZaZp8rs3ANFIvPr1BkiD8oDTvatOAlcLTzJq7PgKAEBc0K89FEPPzssLboHvUHzNIVYDTT9iHv8QbAg1xeuA3PLCT6CX3CslS2CwH/Avp0eesTuM7tB/3CXIOSbIte0vd+W/GKkfbNPQb50in4enDRoTAEmoLtAECRvXLKqdeZXD2QHJAa03llnZNya7YJJ2RAv5TO05WK4ZlDtrbCtHE/burLO5CsF5kFhGsiOfw/7caVLMyXd5ig+J6jAV8oBn3AJaTfe58ztNJpQW0BuYb0TWxFkJ6+H1FTQj1Csg==; 31:zpHZxs0r/12cewqY5jI29U1wLMhkj6Zq3KmbYZjdmIYzoQRvsFOfMQew9VzZ/lrpA3z41tsegJAd9UceGOx6Up/JkfTwaHBNN1o2ugjhYgXamDAKTbME5G++JVVJHTE3nXpbDX6KpU4EyfL5ZG8JNIDBmWfcvDtahwnSZfCg9XPNSwUvGVTu08CoxtI5TTeZEBA69Av8+Mdbrh3IFJEgv4kT4raDgGtySOPXEPaqwOs= X-MS-TrafficTypeDiagnostic: HE1PR04MB1530: X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1530; 20:HHGCI0Az3A6Um8oaS2rFpTjcd8fSqZ6nE+Ie2h7PZliJq9oznelHFRDi1bhlcarJziJkAiQIgEKekdKhXeF9CrNStyI4OmCIUcoUVYqj/ya+slD/HbZZTVUYtxwaEbwMt/JBGPJBbEK5iWzD3jP9BYNeVdtZr9n46Il3uX8YomUoxD+Or3mP/h/vVsDDaIXYKt0ncCtvbe7nzxp7Q4F+62G7yl2Zr7RDP1Cc4N4zxtB+K3RageJsBcepBsm0K5hlfDgw+usBDcw4TzGtWmoAV9IeXMW3rRyI2kX/Yyn07Szj++Ptjt5WCT/6Y6f0jWibmMhaQTjqhsZ11zIoWam1s6yeJtsHPO+i+s3ZjnxeMZb8S9u8F0E02994S2Kovb0Mq+Cij4SK2hifG66kr+RV8iK7DmMsvPFn7WHyfzax+tLujSrY8dg0TXeZyzC+OpVPDrBiN5p+qCN39eIt/WVuKui8H6H1L/5oYzaquGMt5OkmkmV6pnaJS1pY2Xf2nSDJ; 4:Qz8kutFbF6UzFGmim220OH25FoQxQm2oQXit4Uf56+BF5E6wxj+sfJdKELRDFj/5YeJnCDzSBEMQ5xW+3wiBzk8Ct/YfDQAFA3YNroDoGrUf5Z0OAPbQLLbUKg5xymMvl+6z+qDfM2M9pg+W2kPQ5c7E5XshIJiytsbfmhSJyqOeqr3LF5onEJ5GJDp45abUAZ4Xw5Q6FTK6uc2HkEjOhLIOMw6weQeHuS+dQ5cEw14BE42I9p/f6xeJis8Ys2sQR/aDgSL2woqXp/X7P2JwZdua23Anv/+Z3WdiT9VQCsW59wwwiXmmI3M5k40UOmyL 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)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(201708071742011)(7699051); SRVR:HE1PR04MB1530; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1530; X-Forefront-PRVS: 0823A5777B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(366004)(396003)(136003)(39860400002)(189003)(199004)(316002)(305945005)(8936002)(386003)(55236004)(6636002)(6506007)(106356001)(25786009)(36756003)(16586007)(5660300001)(72206003)(52116002)(53936002)(26005)(6512007)(478600001)(68736007)(186003)(16526019)(50226002)(7736002)(105586002)(51416003)(97736004)(76176011)(78486009)(3846002)(2906002)(66066001)(1076002)(4326008)(956004)(446003)(2616005)(47776003)(11346002)(6666004)(1006002)(6116002)(486006)(217873002)(14444005)(476003)(8676002)(50466002)(48376002)(81156014)(86362001)(81166006)(6486002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1530; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR04MB1530; 23:oan0Aq3PB8MZviOVd8tvb2d85VXyUnweUeji7u5o7?= =?us-ascii?Q?vGtDVkBiebCTWIZqkoNhObY9gxGdcWy/y0Nu2MbRf/f3cNrcvz9X8OSADKY0?= =?us-ascii?Q?wFPslDaC81LrR02EKnnAtFR7ppbNlcoWpoq99fxWFVOh3mF05P4co+ktDlKZ?= =?us-ascii?Q?2P8In8d6pK8Biv6NewTcxMrtMfbGEeOwRiE3NWpZeGieqJZ4gqpOBivhRd55?= =?us-ascii?Q?vjg5o2b3FIe/l/LBRi2iGSXUAL2VokQEPZYOaaFHs3EBmdJc0dRPq/6pXx2v?= =?us-ascii?Q?+9Trp0eXL4aFrBSWuF4qmZk0vAx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==; 5:BdX3ZXCj2PHKg4E2Zl5maGa7ir3SQTX3mIJEErYcoseP6Rm34m40TvZbsEGPsO8w8fTOcgbiewZpg9GFZOMQw1ZBDURASP4QW+2dSe3ylaCgCdn0vN0HPf3mwyBXBeG4+FGd9qQ6FUEfUMCTCTJSej0tIa+0KbfhLISfhll+GfU=; 7:torV4kexXoztn5xR2f+9YV/nFxIK7Td2gbB2YcjgPKQQURiMr56T1S0g8fPZZHzZbmT2WEG6mFl7XO2k7aNz/JgHoKnzOr5y4FL7n5IX+DJWdW0WREcI8Yz91PcLpgcy3JtDHCk1UrauDWKFML58UomDwwFFOl45UktoY4kAvmvK0wne0u2pzHWnR2UEgmTbahPNDOBobTqq0yBF0AvR0dRS/ZRPtQ+i60Z6rAC5RiUTTcKwCXdG/Ey9/+hwg5gg SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2018 14:41:33.7397 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c9493164-66f5-4895-a866-08d63050cefa X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1530 Subject: [dpdk-dev] [PATCH v2 00/14] 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: Fri, 12 Oct 2018 14:41:37 -0000 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 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 device cababilities crypto/caam_jr: add session configuration methods crypto/caam_jr: add enqueue dequeue operations crypto/caam_jr: add scatter gather Hemant Agrawal (4): 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 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 | 2508 +++++++++++++++++ drivers/crypto/caam_jr/caam_jr.h | 18 + drivers/crypto/caam_jr/caam_jr_capabilities.c | 266 ++ 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 | 367 +++ 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 | 291 ++ drivers/crypto/caam_jr/caam_jr_uio.c | 501 ++++ drivers/crypto/caam_jr/meson.build | 17 + .../caam_jr/rte_pmd_caam_jr_version.map | 4 + drivers/crypto/meson.build | 5 +- 23 files changed, 5276 insertions(+), 2 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.h create mode 100644 drivers/crypto/caam_jr/caam_jr_capabilities.c 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 -- 2.17.1