From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20044.outbound.protection.outlook.com [40.107.2.44]) by dpdk.org (Postfix) with ESMTP id AF48D4CA1 for ; Thu, 13 Sep 2018 08:09: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=VhhuNu5shHlRzKoF+Vv9ECI/nC0UH6rsasrL7sKY32w=; b=e0mKYXV4qU1ZtHCDQSc6tlfrMThAPo8dhCXETxLKhqFIA8lTaiLFNVx8FuzGUKglwII73S+eSESvzoRtgV+1P+70lXSV8QSZLVt7heQ4UOWDWBn9Seq7+PRkHp6Kbz9KHqZ75Xop1W3wt24hr1kSCPOiLfnvjOPY3FIumju0880= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by HE1PR04MB1529.eurprd04.prod.outlook.com (2a01:111:e400:59a8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.15; Thu, 13 Sep 2018 06:09:21 +0000 From: Gagandeep Singh To: dev@dpdk.org, akhil.goyal@nxp.com Cc: Gagandeep Singh Date: Thu, 13 Sep 2018 11:38:36 +0530 Message-Id: <20180913060846.29930-1-g.singh@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR01CA0095.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::11) To HE1PR04MB1529.eurprd04.prod.outlook.com (2a01:111:e400:59a8::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f6f11542-ad80-402f-1552-08d6193f732e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB1529; X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1529; 3:r/zQgvY+ETQ7XIpvT4yD6x1l8djSZMLY+ej392AJRCGI+aBBAA8VVxtSNj7dzbeZHjBbaM2VqENi4TEeRYm2oH/WYJgJg1S0GMaNbM/BKabbXTz53L/O4tiiEq5CcTZDFUZ/TvJWhb3syj1Yg3aaQ2jV2PdbL98Xb4053Bg2BLC/+HMDHDeePxdC185XsYgHIhO+M9LEoJ6iyyVioZGqMOiTiO4fxahMMc+lNsy+SstzUTRznDoGAU3E9dlCeVVm; 25:0nWKxDSLzXOiQrHCSBVyUQO8zUBGUjn1Vr4jBtDNX2g9eUN7K5WdrkMl6oRTjiO5xVfYO+3A+MQ5t3XUU1CmbDIg7+SjlZnqAsdPh5BQbVoH7DOQRW4E9M3ueG4gAath/ZfcDz1vfNySjIg10vEvkoJqAy3ZPYeMWGENQDvMR+1toDT3FnLjvTkTdqQdsPacuzyZxzeoC5gHWgvZP4+nVqnb3t9Bgn8+aHDYs6ZTQPXVnwZUkFik8dtwYK+Dz8rjbBlm/K7E9kDzFXUJDyOvjt7iXWlcxFplC+6Z2vkPRmKVfsKnqCGMHGN8MiiRnFdQ+iIF9LRPfV90NH/ix/7nyQ==; 31:qKnMndtfETw6YSHIf+/cl6WmAr4roYI0wOLMaG1Cpb2Zz+wBc052PuEqWhMYlGutP3jNdrjz+v+6vBSMd6NhLF80QFzXiA9qyqkoBFNx8jAzVu7IIhmkAhFPcTy/wmjxV71gcBpi+kyM+Wpdn/W8gFS46E6Bu4IykO+z7FOYJ2NTc0VtxVv/v4UJF/qUY6JbncEFpCB+T6vTvBP4caWQL5RulkAh2b/+qQRBWaX4xpk= X-MS-TrafficTypeDiagnostic: HE1PR04MB1529: X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1529; 20:zlJ/qtgbVBzhakQIbTSvS/G6EgBle1HnhIB4bwkCKq2zGZoKEibhCsvLrB1H6Ho3gkaKw1R5dyIHutoUZIf2nkojPtU6QBDFByAWV2Sj0hMpO4FrZVytNupyZ8IPfUCkeuIN351kSJVVPAh63b/kz2lkF3jHrCcBLwVhZ0pu/l/9k9M/V9TlYTYCwcVNB5+qzY4PBG6rvwIku66c268ErMPkCrM+QCh2RW/ziWywdfZ/Hx2/WoL6/Zq1TpjDrOgkEe/2qM624aL8dpRqpNakicRmSvJOv6Shiq21BPBD6IhgeFYoK3OYSLjxsN2GxQrP5gS+4VVAqIZL9Yt24l+2cpkxCfTxm05hksoGhL12z/+w+s6xdnoBfAA4Ytf3fwLNTAKZJOSPMwvelfk6MBKGBwYMWAQvznV284egnSbzDKp9HWr1rKjW8Dk9og1Jwyo8MRLi8QTOibEGWqdz7dZSqaIK622u2eipOIKm0H9f+GpVlKbJ/4C8KG/jcVUQ8g+o; 4:1ciESwkTVbnUZY/qJAk4B/E5BiWxDhe6DdtoAvwiTru5XQrk9IYBvSV7KuNeWRZ5jZxQ0xSF76BUFWVHWLKE8zhglGP7+TReCX/tz7r4/BU8AB1NpJ8EZ2PpMsgbHxGBVDSlKaCemYX8DmBdJT54/1H8RJP6Yyk9gY+8F8yvzFvRGJSToaAGKJIouJtYPWFIB6aUDDRv6p7mufrCg8qVKr/8bpYgUqFNkL+QgikrgFqDxxx3F11RRDPHqdj0FtkTf0HV2f+k8bp8ON0ohmqr+qzi/oXQxwrovJ5J6Z5HTbR19kfoUr07pPInspxCjWPH 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)(823301075)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699050); SRVR:HE1PR04MB1529; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1529; X-Forefront-PRVS: 07943272E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39860400002)(136003)(346002)(396003)(189003)(199004)(2906002)(6506007)(386003)(5009440100003)(6486002)(51416003)(6512007)(6306002)(52116002)(486006)(2616005)(68736007)(956004)(53936002)(476003)(305945005)(26005)(7736002)(55236004)(186003)(16526019)(50226002)(478600001)(47776003)(1076002)(3846002)(6116002)(48376002)(217873002)(105586002)(106356001)(25786009)(14444005)(966005)(50466002)(5660300001)(36756003)(72206003)(66066001)(316002)(97736004)(8936002)(81166006)(4326008)(8676002)(86362001)(6636002)(6666003)(81156014)(16586007)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1529; 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; HE1PR04MB1529; 23:+S47STzhh1nZVvDt+V9JgSt6LLXl5uKr9QVIQsQuf?= =?us-ascii?Q?V4d8PrOXfs8WwWcsjDuTuFTSIUTYHOthCZku2fA8+jF8CKKojJ5MQ81JmtTf?= =?us-ascii?Q?1Hfj9LdhH7oD65qcMTlntz8gYItz50mH4cdjNQKVNi3lNeeockVROsCxQxmD?= =?us-ascii?Q?yiIXEW2wSu+9b6zdkV7t5Ku5ejJKD6kEzzPfoNy/163jbl1nhmOT9WhJzjiC?= =?us-ascii?Q?woxzeoax4rL4PkN5cuupIR9xdmMfwRw5mtay+/hgjnEpgBIStKuLv5cs0Fa3?= =?us-ascii?Q?UhyVJYMYHD8WemRQf654WKwddx1brWzHzOQ+BVjlD6wv6IXWeaRTHHtR6Q+3?= =?us-ascii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ShFKa3v3hk2YRnOGBaZCcn/122pq+/5b1iC/fwLk4GDFjLPM4YD6WnwnmAVmE2YaDWOZy8iuzDkQZTc4Ke15GMeIqnMM2tJlhUul/j258mgDb4T2dYjeyHPtIX1BS8fSb2LdeQNM8=; 7:ZDsu8bv4RcWZrzS9fZpM/HrpLLQKv5NphD2LmItVSWAUSBelbiMR+5fRetFVIrZ344PA3+FlSnsaGxFIZALd34qsasf3EiGt1eQzwyUpfr9IeUe/GVtVEUVsXDVoLM73iSd7j11mr2HDF87usk5SyGylkLzr4/iT2eQavhrRc4Rk1DZzBAN5WjuvPmLFwTiaqv0a1oFbRbOwPivuXeif5o3Nh/iuAMapu2fA+LuiFND/CPcPpkkMWlO22Y64k7m9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2018 06:09:21.5537 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f6f11542-ad80-402f-1552-08d6193f732e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1529 Subject: [dpdk-dev] [PATCH 00/10] 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: Thu, 13 Sep 2018 06:09:26 -0000 The caam_jr PMD provides poll mode crypto driver support for NXP SEC 4.x+ (CAAM) hardware accelerator. This patch has dependancy on below patches: http://patchwork.dpdk.org/patch/43986/ http://patchwork.dpdk.org/patch/43964/ Hemant Agrawal (10): doc: add caam jr cryptodev details crypto/caam_jr: introduce basic driver crypto/caam_jr: add HW config for job rings crypto/caam_jr: add device configuration routines crypto/caam_jr: add queue config functions crypto/caam_jr: add basic session config routines crypto/caam_jr: add enqueue and dequeue routines crypto/caam_jr: add auth cipher and aead session support crypto/caam_jr: add stats support crypto/caam_jr: add security offload support config/common_base | 8 + config/common_linuxapp | 1 + config/defconfig_arm64-dpaa-linuxapp-gcc | 4 + doc/guides/cryptodevs/caam_jr.rst | 159 ++ doc/guides/cryptodevs/index.rst | 1 + drivers/crypto/Makefile | 1 + drivers/crypto/caam_jr/Makefile | 46 + drivers/crypto/caam_jr/caam_jr.c | 2485 +++++++++++++++++ drivers/crypto/caam_jr/caam_jr.h | 257 ++ drivers/crypto/caam_jr/caam_jr_config.h | 207 ++ drivers/crypto/caam_jr/caam_jr_desc.h | 289 ++ drivers/crypto/caam_jr/caam_jr_hw.c | 365 +++ 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 | 288 ++ drivers/crypto/caam_jr/caam_jr_uio.c | 491 ++++ drivers/crypto/caam_jr/meson.build | 14 + .../caam_jr/rte_pmd_caam_jr_version.map | 4 + drivers/crypto/meson.build | 2 +- 19 files changed, 5166 insertions(+), 1 deletion(-) create mode 100644 doc/guides/cryptodevs/caam_jr.rst 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_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