From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70071.outbound.protection.outlook.com [40.107.7.71]) by dpdk.org (Postfix) with ESMTP id 15E0F378B for ; Tue, 16 Oct 2018 12:38:56 +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=07hCjCm8D8NmcVXEVqbd2Sof5pi/1I9ubuioYo9Sd4U=; b=XERsah2s3zgCVjVSi4590lvgVJXZ8TRuhlv6UE3H7zT53CLBGDKR8eHyiB+9Yzrn7yspZjadmuOasd8H/8Z/eHbecpVbfaef+EQ9srOXb+YAwSeDLbFObjZDRe356NSfSO0VBrD9RRKyYV1Tb6yBgTcaSOLnHFJ0asdX0SgM5BM= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB3231.eurprd04.prod.outlook.com (10.170.227.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.31; Tue, 16 Oct 2018 10:38:54 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::cc19:b6c6:27db:3fec]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::cc19:b6c6:27db:3fec%3]) with mapi id 15.20.1228.027; Tue, 16 Oct 2018 10:38:54 +0000 From: Akhil Goyal 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 , Akhil Goyal Thread-Topic: [PATCH v5 0/3] security: support for pdcp Thread-Index: AQHUZTxvGqUXZaPylUyLQpj2YqTKvg== Date: Tue, 16 Oct 2018 10:38:54 +0000 Message-ID: <20181016103352.2678-1-akhil.goyal@nxp.com> References: <20181015124858.5562-1-akhil.goyal@nxp.com> In-Reply-To: <20181015124858.5562-1-akhil.goyal@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: TYAPR01CA0026.jpnprd01.prod.outlook.com (2603:1096:404:28::14) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB3231; 6:6PvgMTn5fJfRhrEuNmfgS0Q6d42ZZCTCQGaec65Ee4vA9tf9ToA/Xe2x22CUTZ/guuJfQHSrtFn6pqD1Vvgp+KJy6KFiJzU9DF/u3d37WXQ6SlIifaahd/fP/TvYmTtRmbUJOOjBFMd/pIGaAwGMK1ZsGlfGHfXALGOi0LZ9jYZU3EU4lWoxWmDDhXdRhkuHKMiRTvI3e5P7SaeX1yetWY+rv20+98e6I0Z4DRiE4Mtb/z9cbu61lLoSTSNGyrQyXU+G4tZSA86uK3NdX8ipAZXFCoAEipRk0UQLlmweH+2byMSC+xCymp2FuDaIRY11lp1Xx/lHEMcZe/wwKuXlWRQWZ3AmzOvWdlNygqCu0Jg6KAPEGNB4brK7IEOESWxafDM2nw+7vRoacmSYQu9nPxJ9JJ6RZqKrVcWAM2lw4pJoQdZymY0yTaVWcoS60c5Hh5XUSi4kfBEwo5WMhM2eRw==; 5:y8jK1kQbtQsa925BTHbaTRRKSyVgpGPrTR3YBrkqoZBj7gLNsjhd0LCXMw8QhELvnhRUK8FFhXMoiWD2HaGhHuGmGQ2d2co9ECCMszyZ51A3cc7z5Br+wlFaLaqdKlCi+06sIxYVD8FhllIu5Q4o81R4M2DRIMfDVl4/ZAAkt/I=; 7:7Va3Bil+W5OrvjggIKb9k8bCq8CGcTmHA/2jF3Tv+WEdn+N3EgPvjKcLbC8uZxEFoU/cyxfIvRNEmcwJ0ZoEpT8U+jCU1H51tQVbx+vwIno6Qh+bIUMpR8kciolj2AB8eMCbFoULyrVqByZrdSizEiAB97M4xOQsju4oW+yPG22XxWnRQpEQg/L1YN2/48pj1CwE499yYb0e/xsSAfpsZNvUoDsxOgIb6pAHiHwOkUSyKSJER/114hBRfMkcSNhr x-ms-office365-filtering-correlation-id: c80d7d29-e943-4426-ff52-08d63353915f 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:VI1PR04MB3231; x-ms-traffictypediagnostic: VI1PR04MB3231: 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)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:VI1PR04MB3231; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB3231; x-forefront-prvs: 0827D7ACB9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(396003)(346002)(366004)(376002)(189003)(199004)(1076002)(53936002)(6512007)(14444005)(256004)(6916009)(3846002)(86362001)(44832011)(97736004)(5640700003)(476003)(68736007)(15650500001)(6436002)(55236004)(66066001)(6116002)(76176011)(2900100001)(36756003)(6506007)(6486002)(386003)(71200400001)(71190400001)(105586002)(2351001)(5250100002)(106356001)(99286004)(102836004)(8936002)(1730700003)(8676002)(2906002)(305945005)(478600001)(25786009)(81166006)(446003)(4326008)(81156014)(7736002)(316002)(54906003)(14454004)(2501003)(2616005)(486006)(186003)(11346002)(52116002)(26005)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB3231; H:VI1PR04MB4893.eurprd04.prod.outlook.com; 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-antispam-message-info: gRGJ/lj50UDKfZ0YoIhgKSLZGeNrPF8Sgi1Kk52MLuYNsi9IR+SZ1wsngHBvTIhzoM8FWEDeSIzIrpJ/xyB3px3/rDdsnD69yANEstXkCjgFP3jXlVvdQmDvlAnMLWguWSgFcikUu90hT9ol4o+2puxbZxeWnbUeNVUjFATDknyZwGOiUsGNK2M7T4RnybyMoIV7GWeD7x2C4+I8eLz1fFJTHZZB2UDHRgTmNnVyqTZBK67aTFpjQCu/cEjmF08zZYbfh3hy/MU+qfLsu2UbUwLzha2OXDYJw/HsXoMwQvMXnStSPeHPupJ4g825N7VPPwiBnNXVxJXZG6b2+2dJUQKMZQVl4M5C9wMwB9aO0Ww= 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: c80d7d29-e943-4426-ff52-08d63353915f X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2018 10:38:54.3460 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3231 Subject: [dpdk-dev] [PATCH v5 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, 16 Oct 2018 10:38:56 -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 v5: - corrected comments in xform structure. changes in v4: - added capability and setting for packet ordering and duplicate detection. - some fixes in driver. changes in v3: removed checkpatch warnings. changes in v2: - removed hfn override. Will be added later when it is supported - added seq number size =3D 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 | 107 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 257 ++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 208 +- drivers/crypto/dpaa2_sec/hw/desc.h | 2 +- drivers/crypto/dpaa2_sec/hw/desc/pdcp.h | 2796 +++++++++++++++++++ lib/librte_security/rte_security.c | 4 + lib/librte_security/rte_security.h | 92 + 7 files changed, 3450 insertions(+), 16 deletions(-) create mode 100644 drivers/crypto/dpaa2_sec/hw/desc/pdcp.h --=20 2.17.1