From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50050.outbound.protection.outlook.com [40.107.5.50]) by dpdk.org (Postfix) with ESMTP id 3FAC998 for ; Tue, 28 Aug 2018 15:04:16 +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=ALcYy0C/pnIcBVgBwBDTXaV5LrEwqhcYAfoQ0aaw0eo=; b=XeQ4E8zjL3RRRmWuLYv9iomFUNhBfmBD9SCAPa7kOs2OM/RjCtCxei32qehGdYCzSPZ++v9iGoZRLKFbtiCtVSOfAvzO74YsLFKzfk5bR8v9g35uMbVqXfMJZJ6pXRHxIuBTGKy2BMIOZ6d7OCQacn9oWOG0sm2qLQAv1Rik7dg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from GDB1.ap.freescale.net (14.143.30.134) by VI1PR04MB1390.eurprd04.prod.outlook.com (2a01:111:e400:5348::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17; Tue, 28 Aug 2018 13:04:13 +0000 From: akhil.goyal@nxp.com To: dev@dpdk.org Cc: Akhil Goyal Date: Tue, 28 Aug 2018 18:31:02 +0530 Message-Id: <20180828130105.30779-1-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: MAXPR0101CA0046.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:d::32) To VI1PR04MB1390.eurprd04.prod.outlook.com (2a01:111:e400:5348::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b3fa53dd-a244-4cab-115f-08d60ce6c148 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:VI1PR04MB1390; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1390; 3:EQc0vBIfs3IEYkwZcZTmaKlXet8Pu1GrdLnrlvb0nkm5sTwZgOlRNP34VSR+d/rmrmWYsl3YBAN9kc52LCnFB/8YD3uhOQo+8OupzYG3p9wbSXR1EKjZJJgLIJCTQ4/eeURWy6JaRB5yBIYStg6T+lVHGmNM/BFAgd//t+z/DIscj6a39ynS7YBq1rq8EfBHE9ICCHCFWxASmS6W8vaDJFqL8xPi91VRkP+ZthnT6RJxr3xrxMaNm1EI/cGxXP6z; 25:tBIbVzr0pJR62PcEmeLpBfAQG/eSara7B9AQEt/o2mlV2PyH51ke1OczgYBeUVXTOkb3G0VaIEMaG5NSrcPW+XdOW3LtmoOlCNpkm2zpO71W4ldGWmYS1mz8LrGQMKh7UNY86aAbc1cio56Hi/3iX8EwWBxZQj9ldX6gbLq0a1aEX5jRmXTFlUvkU/VCRWPsbHHZCsKhvAEVxL2JmRcHUz3aKdx1svdJWVYn66kINdnBJhsoTVSoYN535fPozNT66KmrxbOtTd4ua2x9YW9qe/Yd6gRsl5cXo57GSbJZVB89mSwoA+78vBh308f7OJlInganIz3v79ZqCkKgZc3Yeg==; 31:CwZq53MBFgkbTNYpXrhl/7p64ZGxdvaFF2iLybExXRt8u8SG3vOs5c/3AZrbxEKnae7u2jhMafaCs+/9XDqByLlJustUsSCwiFyJfcXGRDVAxGVM/OGZfTTP4OYFdsxdKp5DYKNeGtqy0+PJ8BLj53RjKJnCgM7oZbH+fLV0kmH5ad8iYT2ELrlpohvLr/wFl9vitb6NC74oNnBOFafcPebaYFUjZWflA7c66LhulYk= X-MS-TrafficTypeDiagnostic: VI1PR04MB1390: X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1390; 20:cZJD2LSAoi7S1HQagn4ECjL7fQIDGH5QSSaJ179MpscYpKWVxeP5b6/V6OhZbVeePPkJqnnqWziq5VT51Pa0mUyGiE+3QreyZ6dQ1e2tQ1taPNlrw/NZOWlBTM+i+QHZl/K3MeqdcRMqzzZBl+/evkuakRx/+sZyEZIaydw20sSCExq1m2XPle7X8gnoPKd1u5asbGcKzf/9Fbed8SYlNSmoalHM2ks/iG4SpmW0z+g0M1gCEmK0kIsxHCim1CgUuksC9+8ftrz92Tj2QULv4TfvUCOSgpDMtsnPoGcuP5fnxQgz4P/tqmOD+MtkJ+QzGK4zqtHBB+RYiUfanI1yUkcaCbQNvM1NL3+YCpz9QJb0GPE8m7jnxLbkfzLK8JiZ3I5WN4xq+duZtn/N5a9Ip+gZK4PFIT+8q2RZLNHMlcqWW+yzIYC+SpvxK1YJ/LI9j0AuAHnWWEvDtVDz3v+izCd+jKC2j3bMlwrQvMuWzg5DeFkFjB0GH7dC9DYmWE48; 4:ocS9bJ/Ls+c7+MOS/SkrkdcuE5A7B7+9UsP0UKrGN0lj6Vk44h0FhGvQYfi1cgeRCGzelTa8lwhafPjP+p+kXlc+mYaMZyxTZETvWGX4OR081bn1bVeKfK/NyENCfqyO8SPaPvm7qj5EpnOiPIMfSm6HVktUsr+aLA8FxW9/h/9Aj1Q5wAj+xGPOdWyg9NO1ZAt24X5VUO+qsT1Z9BjKOo4lquN9TYBrnT5uGs+kD0Wjrn16EoR9r0kSJPS62lKScQVUYHX5KDP5loadibVlsCnGaB4STIjKG6Xy2Q0/ZLg//PHeTMtli/XH5gU07OUo9xeUkLLtzJFLRX9/DObA9HUfyzZU/O7efiWsPMvHTNA= 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)(823301075)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:VI1PR04MB1390; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1390; X-Forefront-PRVS: 077884B8B5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(376002)(366004)(396003)(189003)(199004)(5009440100003)(8676002)(55236004)(97736004)(316002)(186003)(26005)(15650500001)(6506007)(386003)(50466002)(50226002)(51416003)(16526019)(16586007)(48376002)(8936002)(478600001)(52116002)(33896004)(53936002)(25786009)(956004)(47776003)(2351001)(6666003)(7736002)(14444005)(36756003)(85782001)(1076002)(5660300001)(2361001)(105586002)(9686003)(66066001)(6512007)(2906002)(106356001)(305945005)(486006)(4326008)(81156014)(81166006)(68736007)(6486002)(2616005)(476003)(6916009)(86362001)(6116002)(3846002)(110426005)(85772001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1390; 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; VI1PR04MB1390; 23:xMeil5luGERFXWmoQ9++gpd+s8HVlv2/eN7Gf1VDP?= =?us-ascii?Q?3Rraj395Zi6fAGcf0FFt03eiJQrvEsc1nzC7bz85b8+KAFn1iVF2Sr4VB/8q?= =?us-ascii?Q?ENpP9ZPA9afZfgXRINRlEo5XB0wX9W1DohrP68EQTc0pekZ1qD2SO+HsNKjc?= =?us-ascii?Q?0JcMmFxXB2fmGgn64cGaFvoiNU9ckiH68inLFkT5RptVYNAwquPEeLjLq2s/?= =?us-ascii?Q?Y5K7BPtT3gCowzAb5vmNykcgb858F019vUnybdJIEo2EFwfai/jvDpRmQYxE?= =?us-ascii?Q?kc5zl797HpjYOiIGxeFS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ggv7EyK/ilmCbx55cJQFTYbKd4H5DxGcEuC3I9rX2oGKcGM25soHi5Azo9fiYOO8UyNt5Gwj8Q==; 5:kAkKkSdplP/TjptaVsnVVQUC9yJqlgpFkQDU4dcUOJRCt9HZjrRhpugOJHpISZZsPgIrmpQfLhwPkKRelrgirSOvdKacF2Hv1YW5teS+ztUmgPl6WYSUpGKigX3pE9wNJ6P0qO/+zsajl24Km8rL2JK0YPvypeGHuw8+YeGZ2Lw=; 7:vOYvTmVcpZIbBaAO8IJfJf/OzT44mzuQ75pXrFLyPQMFtj7+CEhDvXCoMqeE65XEGQtM+GGVgN1B6jpvJb1TcCrMp5+41C3QBL9BhBAH2tPjWf0Te3zWDlkl0e1W0AQ6/l1hVpdFcRmivUivPVOv9eixEt+nFI4fbrzH/w0oQbSvykeuLC0HHGcERr4di+rTONrcP0UebpnEDf8wZRTwE++dJPxYB6PlRZiaiOIs6G7u9WggJyEsK09IVw32y5xk SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2018 13:04:13.4653 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b3fa53dd-a244-4cab-115f-08d60ce6c148 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1390 Subject: [dpdk-dev] [PATCH 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: Tue, 28 Aug 2018 13:04: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. 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 | 90 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 294 +++ 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 | 2642 +++++++++++++++++++ lib/librte_security/rte_security.c | 4 + lib/librte_security/rte_security.h | 62 + 7 files changed, 3258 insertions(+), 8 deletions(-) create mode 100644 drivers/crypto/dpaa2_sec/hw/desc/pdcp.h -- 2.17.1