From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0082.outbound.protection.outlook.com [104.47.0.82]) by dpdk.org (Postfix) with ESMTP id CF6141B155 for ; Fri, 5 Oct 2018 15:38:15 +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=KKzn3alYCkLssPBs6r//OYMHDbNFh1y4xnQ2NG0bqes=; b=fcCETESxMffjZZE2zog4MVPy6+JYW2di4WpMezrBRlwkq9YlsVqbyjdS5+gB/7UdpnrN4RSKe5yNRvOm2s+hlFHBfgC+NEXr9FfxX5UeYE23P5ZHfzmG+z3Q4SyNqyE/N80lwzc7bfGo8EMxepaaUh8TuJIWjlYKTDn779ysyxc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from GDB1.ap.freescale.net (14.143.30.134) by DB7PR04MB4891.eurprd04.prod.outlook.com (2603:10a6:10:18::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.23; Fri, 5 Oct 2018 13:38:10 +0000 From: akhil.goyal@nxp.com To: dev@dpdk.org Cc: pablo.de.lara.guarch@intel.com, radu.nicolau@intel.com, jerin.jacob@caviumnetworks.com, narayanaprasad.athreya@caviumnetworks.com, Shally.Verma@caviumnetworks.com, Anoob.Joseph@caviumnetworks.com, Vidya.Velumuri@caviumnetworks.com, hemant.agrawal@nxp.com, Akhil Goyal Date: Fri, 5 Oct 2018 19:03:41 +0530 Message-Id: <20181005133344.6115-1-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180828130105.30779-1-akhil.goyal@nxp.com> References: <20180828130105.30779-1-akhil.goyal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: TYAPR01CA0145.jpnprd01.prod.outlook.com (2603:1096:404:7e::13) To DB7PR04MB4891.eurprd04.prod.outlook.com (2603:10a6:10:18::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a658497a-b032-4231-187c-08d62ac7ccfe 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:DB7PR04MB4891; X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4891; 3:iD+6ap0N0r5ENnPh1WszEc8M5/UetymM7WFYmM0ztdTyP3yTRN7cBZkH9F2WSB+lKPWRixSkylPcLr2vXCloGKnHiwX3e8uOfyl1W6F3nsJpU8+F+ZwwzJT4kslD35hIvB5hu88/jgS1rUe/GI1QM3ybZyqz1QWH2j/wluX8RnGbu0HNUQV7TuoTJrRZP7nQ8aPiAyORPq0qDdCzUY1BXtjlMYCOq/L909VcuIlEBkWvhNLRGX+3EPJNPD1teckY; 25:3R+fzxVURvuqPSAKIU+u/yLfPhbkAQgVV/mV0ZlP2UshUiPVSPivebkkazf70GIQnqEcM8tAsnqfLNOV7SeAB4VAz5lGDT+L0I/E0e0kUyHHOSXJYOsXf8m3pUEKl6KySNyIT8dgbJ8LhCFi3T9XPLxHPV9kBU0LK3bBokpnMiPBuui8kBUo2EnxY1lZNgmHW4OPOoyAIPL90J4i9RtEyzgJ0QE0OT4xFPdClMmrlWG0OaEDXn6VzLQNSN73CPid6JLmbK1N1QWS2Xt6ZE8/qAPQHbT7/QjCkwL+vX3dBg1+CsfaOjqNuPMos/rggFDyZYTU56IJrE6gN3dVj9hf8w==; 31:7+rIEx0e4Nf7N+HWMa0geQ4odZenZDOtvWHaXUKfqzPmTJDDzu427wSZaJa+9B82bVI0kuxDUuA7KCTByKxOuxxqskfSCMc7vscijcr80Dbb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C0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705)(185117386973197); 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)(93006095)(93001095)(10201501046)(6055026)(149066)(150057)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(201708071742011)(7699051); SRVR:DB7PR04MB4891; BCL:0; PCL:0; RULEID:; SRVR:DB7PR04MB4891; X-Forefront-PRVS: 0816F1D86E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(366004)(376002)(136003)(396003)(189003)(199004)(1076002)(386003)(6506007)(316002)(33896004)(97736004)(3846002)(16586007)(36756003)(7736002)(6116002)(51416003)(76176011)(305945005)(2906002)(52116002)(48376002)(50466002)(15650500001)(478600001)(2351001)(66066001)(47776003)(2361001)(106356001)(86362001)(55236004)(956004)(6486002)(9686003)(105586002)(6512007)(81156014)(81166006)(5009440100003)(8676002)(5660300001)(50226002)(6666003)(6916009)(486006)(25786009)(446003)(53936002)(476003)(2616005)(11346002)(8936002)(85782001)(186003)(26005)(68736007)(4326008)(16526019)(14444005)(110426005)(85772001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4891; H:GDB1.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; DB7PR04MB4891; 23:w5gJ2+wUZJ9iqmRhS9FtniiP/8ECqLF+wUdqtTa0M?= =?us-ascii?Q?OvH0+cyQZh6+C9lBOJR0K80AKVAenmG8ryl83TGgpgn2aJJLqKvntR/yXCKP?= =?us-ascii?Q?kR7WEEN1RdlwQAC6wVn0hdn+Hx+BUPUd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X44cxp4rgaFfzETIZJVpwGqTX/Gdshuzmh/2KO2s/I3fz23+Bx9?= =?us-ascii?Q?LN4GN7EJVfanRSw7+gk82UtIXfHIA2ZraaRxSWBW9qqYiyIVXajv8iCyUKsB?= =?us-ascii?Q?XK+XFOnN7xXYbzrAMmYCYtPvBKHldOw9tRATGcACJSjZlJyyAdxQvIPNCBPB?= =?us-ascii?Q?GtJiLoewFGwdGrOmcxzBbho/HuMMWlub3IubkEMANUbvwT0suWg33yuNqWy7?= =?us-ascii?Q?157ehlgpBzJz/yvKAGcEc5usKVHNOZrnNxGOpvOlvvnIU7S1uEyhNqcuuX1C?= =?us-ascii?Q?w19O5xtHeyDdfundRAOpQxsFqmM/S3viMQXxhWZ6xc6aLLJ4/jOAitZI0hq5?= =?us-ascii?Q?TsFEcecn638Vqdda/D88xBsICuzV6HzkfCDg1EBv7+4frzSjWBZ1itpl4/ng?= =?us-ascii?Q?2ewh4CRyA=3D=3D?= X-Microsoft-Antispam-Message-Info: JX6c18z1SO5VFUcgxiDfcmGig0NCikhlzyfTab1RThadom1uA8dE8nerQ2Vdow1VANcXndYPOSPV3j5vqj66BKk5RpLoKRPC1TX0XlWYgD6FIpR8/gP11XFAzBVF+mYWbP2xBz59zjVMpWXZDUBcgW9p+X/R6waYpyJkjIY1BkBWGX94pVHbaq/K9TylGIKthcBc2QmzYm/BjxELWGivI7uEQaeM8s2ufp4J0XJFm9U9YIN986BmTIV2ZMraAdNvCUs47R8WLvp9fpvQsEdvrMKa2MDJLWesya7X4CDVk/D0YUGDhLrOyNWINhA818kTkRa/N6dRd8PvKgJZkqlDy/afk8tuwHtX0U4+N90/nM8= X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4891; 6:aSg6+SdYCzbEy9eGsU2tsmDzMwIQtPAGX5P8c4c/6tbLJE04GViv/BMmjQGhkpBy4iBLJUchi5s48s/9Ou0uXsSVotEJ+tBMlox67PUfFBUnUF23igQua2ltIsOL4o8X5N8QBt3O7MnwadX98M/82iXfJ9xDzWFyLj2DQPm5mnRKXJiSpTJK3Km4jSxVq+qEQjj9jh6TwZjcEm2VLSakpwkodYQJIH+cpQQaPiVp/7+yX8Ap3SJ8HCjO4K/DN9FKgc9Mjh3m705gvLkYQI7HeENkkzZghWQXTKegiUekQIzF80KeqJfHxtSIF1mL5g3sbR17M7TP4EnAMb83ty74q0YNs4hyWTNgoXieIkGn0BBCtYaLDDEakrOiaLX898YL55YCrEUzVT+Tn0uBB13+7YXuLIKqom0UXNmTcKYmZLLoeho2B7VweXQBAVEbnPOLB16mQ5V0gBCTtWEiK61diA==; 5:sE6QCuNyEu4dy1hMvd+Zmzu0nRV/QdlI9T7+tmwZNmsBYnWTmQ4mab8NKLWxNS2WEpFpWeFesHGmwM/dzmB8bqJCTfzV16A8EdepdByWV2ORYMX++CLBeCvH2idUaF6cAlSxdbf1j8whN8XkC+pTLLx8n65C8u8YJlnJV9T1Npk=; 7:lcZkzwVOfuzL/7AUdajyi1OHMg/sQHgSouRRTyhPeh9PYROlZK6JPM0cLrEaoOe41mkuuq5fybxXJfu5eH9jBf78kFxK8tOXO/5oAgqMry8Av7ms3GE29599Tv1uBzd9ONyKaMdwQlaQjabYIPqxdFaVuDRgrQOPtbVdgR0WtrvUkLQJzJuylGo/PWsHnIR06Z1P6OteOOO61sZhHOEdS52fdMWmpowKtRSkCt8z+21ahvmO6GzyBN2208e4tWwt SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2018 13:38:10.0426 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a658497a-b032-4231-187c-08d62ac7ccfe X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4891 Subject: [dpdk-dev] [PATCH v2 0/3] security: support for pdcp 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, 05 Oct 2018 13:38:16 -0000 From: Akhil Goyal Security library currently only has support for IPSec protocol. This patchset defines structures for pdcp protocol in rte_security and provide a sample driver implementation for lookaside protocol offload to support PDCP. changes in v2: - removed hfn override. Will be added later when it is supported - added seq number size = 18bits - coding style issues corrected in pdcp.h - updated documentation for specifying the 3GPP specification reference - removed some duplicate code in dpaa2_sec_dpseci.c Akhil Goyal (3): security: support pdcp protocol crypto/dpaa2_sec: add sample pdcp descriptor apis crypto/dpaa2_sec: support pdcp offload doc/guides/prog_guide/rte_security.rst | 96 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 233 ++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 172 ++ drivers/crypto/dpaa2_sec/hw/desc.h | 2 +- drivers/crypto/dpaa2_sec/hw/desc/pdcp.h | 2662 +++++++++++++++++++ lib/librte_security/rte_security.c | 4 + lib/librte_security/rte_security.h | 67 + 7 files changed, 3228 insertions(+), 8 deletions(-) create mode 100644 drivers/crypto/dpaa2_sec/hw/desc/pdcp.h -- 2.17.1