From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00077.outbound.protection.outlook.com [40.107.0.77]) by dpdk.org (Postfix) with ESMTP id 8904332A5 for ; Mon, 15 Oct 2018 14:53:35 +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=ojKEAuZhGuA26cdHel9An/RIRHzlU7a2Sf41CGEE/hY=; b=JJyVYgmOGazqEz8XwoftDYA75/hPpc5yg/iLqfw5OKryMr9U6KADH/AB+ZJgwfvgg3MlZxWrlIjRSo0lyTunhdc6N3dojkfG9n+dulFyBDiqUjD/odZ7Xyc/RLn6+6FmEyDGFzv0lNmPwX3+28E9fCQqn7nd4wW0g/0qQj8nZfc= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB1629.eurprd04.prod.outlook.com (10.164.84.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.23; Mon, 15 Oct 2018 12:53:34 +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; Mon, 15 Oct 2018 12:53:34 +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 v4 0/3] security: support for pdcp Thread-Index: AQHUZIYUC1IMyU/aMEOL+JshZ31XSA== Date: Mon, 15 Oct 2018 12:53:34 +0000 Message-ID: <20181015124858.5562-1-akhil.goyal@nxp.com> References: <20181005135318.6350-1-akhil.goyal@nxp.com> In-Reply-To: <20181005135318.6350-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: SG2PR06CA0220.apcprd06.prod.outlook.com (2603:1096:4:68::28) 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; VI1PR04MB1629; 6:dlbXc3rnwWvaA93225839h5e+vpO5XpngcPVR4rrbqPMFdtIjjcIHAWNOhVZXPolNQdyEtJbuZ0HlRoVBw4rQiJqooZr6/sa6+xAjO9sqZS95Hx082sbHCEIi22KkSE43KMK0tBG1eBqlArrs6gSp1cKFzMUeb3NAAQCPwM9mJWcmufaub82V33z7bszgLP1Tw9m05YqL0NhLL782fbp5g8mp2JMbP1j/C0DYCtf+ejm4t7GqZDbuiiApxumQNstye51wMu/e244wcAVOfbZRytDbttMcQctHdDGfbbTeUtqGUOdAbbFDZTadpo8tYUMR66DyiKR7iCS7gyuWp77N7uEIZYnik/s6kX4BtWYN5l7Zs5ZJPnXgHNNQCIihIYngaQwfcFxTM5tLPLAVzZEE5X+Zkrjjm+jcZbY8WcQiU/GuDtcnklDiMxa6uhSNqXxZqvd4KVIumZ3kyxktjRudg==; 5:uYNBQ7F62IQFDYXRAc6p4RXnCGKgYXH817Ny7KqvDXPuGxD+rFg70mCkL7hyVMkWtIYy8xsgoA1PPky706xMYGw47lMmtyoEH4aFdbId39TzoVwRRSIwTdF59w1k+yoxz7D5FbntmROxkG7LLk/cEWcQXapnbXiMQejYlwGzxYQ=; 7:Rim8834BNurklMUcNog1zJ95aSOurjVxO/g0XcrW06XcM17Irp4QpmVh4crmA8a9VoQgwwGHJ8EWOQy+QRAxo79Egzqi9yVXVhHGR3qPwAtlSZsPUtXpU8UlAWYt+dgawAaE+7r8h9EK5GzZmQaDmRiFTCrqmIg+wWur9VlvoS2i0gz8hlWmIvFjnaUyjdMBzg1ZL35WIkZOZ4O+hM24Z1FA2FTVsHbyEvA9bZVudRfW2UKQPVUNbw71oGlQMgNu x-ms-office365-filtering-correlation-id: 70bba1f1-8754-4cea-53e4-08d6329d36f5 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:VI1PR04MB1629; x-ms-traffictypediagnostic: VI1PR04MB1629: 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)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(201708071742011)(7699051); SRVR:VI1PR04MB1629; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1629; x-forefront-prvs: 0826B2F01B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(346002)(39860400002)(396003)(376002)(199004)(189003)(99286004)(26005)(25786009)(68736007)(55236004)(8936002)(53936002)(102836004)(386003)(6506007)(66066001)(76176011)(478600001)(52116002)(14454004)(106356001)(2351001)(316002)(15650500001)(105586002)(2900100001)(5640700003)(6512007)(81156014)(8676002)(1730700003)(81166006)(71200400001)(71190400001)(305945005)(7736002)(6486002)(54906003)(6436002)(5660300001)(2616005)(2501003)(6916009)(476003)(486006)(97736004)(11346002)(446003)(6116002)(2906002)(14444005)(1076002)(256004)(4326008)(5250100002)(36756003)(44832011)(86362001)(3846002)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1629; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: J3QIqafNjaMSVlJ4aBvk+iLDcjeqqqLyo/2oQH3Gpqx0+oUatQ1WG5TMNZU3f0+G8qvQaMCeYJ3+t7g5ZplU1m1ReufLzYSPIshmvgpxOnaMMfBasaFcVSLqB5jwja1Cdp7Ojh/T6UItm8o6X6JRSu4GB+a0QRNGmCVW7SgBkHowJyQOYhQgyfyqZiIsR6MGCy23FF+WZ1SftqwCwp3RuNLMQkuCZA03ZVD1MMVlrUuc3y82oGbmnONJyLEyI3UUSWpFF57+bAzHqJ7hUVKiKIPuoAvkbtJbDh5VxFJHTQzdzxP+JkpAxqzsZZbPXtZU1lAKdhW+RrQbAt+fZDBI+YdruUZ42rCRgx4Jug6VwiY= 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: 70bba1f1-8754-4cea-53e4-08d6329d36f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2018 12:53:34.1951 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1629 Subject: [dpdk-dev] [PATCH v4 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: Mon, 15 Oct 2018 12:53:35 -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 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 | 91 + 7 files changed, 3449 insertions(+), 16 deletions(-) create mode 100644 drivers/crypto/dpaa2_sec/hw/desc/pdcp.h --=20 2.17.1