From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 90D3FA0535; Tue, 4 Feb 2020 17:10:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 776A11C20E; Tue, 4 Feb 2020 17:10:37 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00067.outbound.protection.outlook.com [40.107.0.67]) by dpdk.org (Postfix) with ESMTP id F42071C1C7 for ; Tue, 4 Feb 2020 17:10:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aeeGNtE2Hb/ZuF7XxBZZvekTRu4NubKUAuML2SBb/EvyiPRTsnDlpTbx8I9ZTUa3Z3E9MGVBczLcExobFl2oedm5HiwZPljwa+vmAJAwQDw9sM6vgKAAPaFLuR6ONxGw0sxcV75TLl3ZkstYoofqbWE758ViNsGBtH0tVaZ3HG1lw+3/hxddtOYf78g1h3jvIR/LlaHqwsi0HiS6ltpmg3JMNYUob37R0uqMKC90is///I7/PPYnfXXPRem5NVW1xguGinmaTvs89LmDz1N1QWJk9vpKf2ZziT6HTCF/YjxsZvf7iYKnNDKRnTcu8A2ACP1MCg4HP5sGktNyUqshrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=If18FAcSHoJj9kpn3si/gr/M8vaTXD553efTjKi0JI0=; b=httXkVDIoOs7OYkFGfYpMKEbhB6kCIEysRxfaxkA8+5hNUVZO0lFzHSbs3e0YG2rTeW/RHhTljszUmnJYAc7zh0rmE48pJrA7jdUOHG/MnzSQZ6uFrIx5xo9+YG+TIcorlN5dxS6F4OsUhKSzCxpTe+4rM6tXdEf/xQZNKNKqweTppmFneGN8jHgTIMLdCB6yTArh+VCofSC0LnJqbIhVaqXn09tv3r1G+Ln24LpVFYluInqNN00EIZa4bJe2pxr7nCX+bDozEgLaY8EpGm+O0o/Sc3Mm1Vzer/sELOuA1PmkaA6QnkWne7zHLO1tlJT0tjNiuGP9m9fkVHAZONpVQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=If18FAcSHoJj9kpn3si/gr/M8vaTXD553efTjKi0JI0=; b=mRIaxYQUIF9XWnT2xgT4WlcSmnXKo71Z/ZvO2GNw3ZkOFCpEbqkeZwWLe3o1yj6r2TXBzmvC8l5Vz0AummTPPHJ69A77v5J/PWf+rTdQK/J8iFTir0Vadu0rmHSN2tNbigwvBPVMRgAGs+y4ITm0ZtZHhsMdmWIfrJepVvJH5tw= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.32; Tue, 4 Feb 2020 16:10:35 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1%7]) with mapi id 15.20.2686.031; Tue, 4 Feb 2020 16:10:35 +0000 From: Akhil Goyal To: Anoob Joseph , Declan Doherty , Thomas Monjalon CC: Jerin Jacob , Narayana Prasad , Kiran Kumar K , Nithin Dabilpuram , Pavan Nikhilesh , Ankur Dwivedi , Archana Muniganti , Tejasree Kondoj , Vamsi Attunuru , Lukasz Bartosik , "dev@dpdk.org" Thread-Topic: [PATCH v4 00/15] add OCTEON TX2 inline IPsec support Thread-Index: AQHV20zMCEsiUh45/EOQcr6atiGCEKgLNI0w Date: Tue, 4 Feb 2020 16:10:35 +0000 Message-ID: References: <1580465035-30455-1-git-send-email-anoobj@marvell.com> <1580815045-32132-1-git-send-email-anoobj@marvell.com> In-Reply-To: <1580815045-32132-1-git-send-email-anoobj@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [64.157.242.222] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 897438f7-ced8-4cfd-7d3a-08d7a98cc4d0 x-ms-traffictypediagnostic: VE1PR04MB6639: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 03030B9493 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(376002)(346002)(396003)(39860400002)(189003)(199004)(33656002)(2906002)(86362001)(7696005)(4326008)(71200400001)(81166006)(81156014)(26005)(186003)(8676002)(44832011)(8936002)(316002)(64756008)(54906003)(110136005)(52536014)(478600001)(5660300002)(66946007)(76116006)(6506007)(7416002)(66476007)(66556008)(66446008)(55016002)(9686003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6639; H:VE1PR04MB6639.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vI35iZhVWVLhGu9tm0FDEko8fi9c1fp2sEy1Fp/5IR/FABx4SX2h1Z6HILzWQ4SQFHBWgrzMJzOmd10dO0XOMSF4pgYc7+1YzHGC3nPz9I0kfi0zK8UNELlRFgn9MkeALAzTikxhlX/HsXbbm3i5QoZtngueHBgBWq+rISTgivNu663SyjKilxA8YSCYweUrSJzun4T9vmMBZV9dDEFE7IMY3iupg9Sj70U4D0Y0SjiuWr+rBUD+PI08nsUmFp/BS1Orh900uVhCKYA6psjnuqJUOd+qUE/fvo/NtVbyoePrcf1zPv0ZCTy0RIZZpP2QLrMu+dEtGUBJYuwcIqa4yHh0wk9B1QW5sH2Y6XQ6Kb9oPo5mvaJOx5plDEX6TL1IMq+0MVziCS2b3LaFVKjsD+Pjr3iLuBN97lpBYuotCM6jvnXRIaTo3YSjDVLYNCre x-ms-exchange-antispam-messagedata: JUwyihj724V7gP1vQtdZtBUF+CbbcfuORhnrl0s4DtD7s/jTLe4IL+as4PJ9IqftyI/LleENWyTabTjp2Ew+TvS50/GGmUS5bWhmI7FHY3UybccwsLpKp1eYKSke206N7IV5/J7A0Iqx1SkUWgF7sA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 897438f7-ced8-4cfd-7d3a-08d7a98cc4d0 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2020 16:10:35.7608 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: CQ3+NYTe62cyrY7QTZvm8qQDc0lyOR/Bk4lNEW3pzBn0Gpn5F5awS25BiFDGjqfWH34deXBlSkWErSPJEvDAHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6639 Subject: Re: [dpdk-dev] [PATCH v4 00/15] add OCTEON TX2 inline IPsec support 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > This series adds inline IPsec support in OCTEON TX2 PMD. >=20 > In the inbound path, rte_flow framework need to be used to configure > the NPC block, which does the h/w lookup. The packets would get > processed by the crypto block and would submit to the scheduling block, > SSO. So inline IPsec mode can be enabled only when traffic is received > via event device using Rx adapter. >=20 > In the outbound path, the core would submit to the crypto block and the > crypto block would submit the packet for Tx internally. >=20 > v4: > * Reverted meson.build file edit in patch 14/15 >=20 > v3: > * Moved ethdev security ops to net/octeontx2 > * Segregated all security related code in common to > common/octeontx2/otx2_sec* files > * Segregated all security related control code in net to > net/octeontx2/otx2_ethdev_sec* files > * Claimed maintainership for all files added above > * Added support for AES-CBC >=20 > v2: > * Minimized additions to common/octeontx2 > * Updated release notes > * Renamed otx2_is_ethdev to otx2_ethdev_is_sec_capable >=20 > Ankur Dwivedi (3): > net/octeontx2: add eth security capabilities > net/octeontx2: add datapath ops in eth security ctx > net/octeontx2: add inline Tx path changes >=20 > Anoob Joseph (4): > common/octeontx2: add CPT LF mbox for inline inbound > net/octeontx2: create eth security ctx > crypto/octeontx2: enable CPT to share QP with ethdev > net/octeontx2: add eth security session operations >=20 > Archana Muniganti (3): > net/octeontx2: add lookup mem changes to hold sa indices > drivers/octeontx2: add sec in Rx fastpath framework > drivers/octeontx2: add sec in Tx fastpath framework >=20 > Tejasree Kondoj (3): > crypto/octeontx2: configure for inline IPsec > net/octeontx2: add security in eth dev configure > net/octeontx2: add inline ipsec Rx path changes >=20 > Vamsi Attunuru (2): > common/octeontx2: add routine to check if sec capable otx2 > net/octeontx2: sync inline tag type >=20 > MAINTAINERS | 6 + > doc/guides/nics/octeontx2.rst | 20 + > doc/guides/rel_notes/release_20_02.rst | 9 + > drivers/common/octeontx2/Makefile | 1 + > drivers/common/octeontx2/meson.build | 1 + > drivers/common/octeontx2/otx2_common.h | 4 + > drivers/common/octeontx2/otx2_mbox.h | 7 + > drivers/common/octeontx2/otx2_sec_idev.c | 183 +++++ > drivers/common/octeontx2/otx2_sec_idev.h | 37 + > .../octeontx2/rte_common_octeontx2_version.map | 6 + > drivers/crypto/octeontx2/Makefile | 6 +- > drivers/crypto/octeontx2/meson.build | 4 + > .../crypto/octeontx2/otx2_cryptodev_hw_access.h | 22 +- > drivers/crypto/octeontx2/otx2_cryptodev_mbox.c | 54 ++ > drivers/crypto/octeontx2/otx2_cryptodev_mbox.h | 7 + > drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 56 ++ > drivers/crypto/octeontx2/otx2_cryptodev_qp.h | 35 + > drivers/crypto/octeontx2/otx2_ipsec_fp.h | 350 +++++++++ > drivers/event/octeontx2/Makefile | 1 + > drivers/event/octeontx2/meson.build | 2 + > drivers/event/octeontx2/otx2_evdev.c | 170 +++-- > drivers/event/octeontx2/otx2_evdev.h | 4 +- > drivers/event/octeontx2/otx2_worker.c | 6 +- > drivers/event/octeontx2/otx2_worker.h | 6 + > drivers/event/octeontx2/otx2_worker_dual.c | 6 +- > drivers/net/octeontx2/Makefile | 4 + > drivers/net/octeontx2/meson.build | 7 +- > drivers/net/octeontx2/otx2_ethdev.c | 38 +- > drivers/net/octeontx2/otx2_ethdev.h | 2 + > drivers/net/octeontx2/otx2_ethdev_devargs.c | 19 + > drivers/net/octeontx2/otx2_ethdev_sec.c | 844 > +++++++++++++++++++++ > drivers/net/octeontx2/otx2_ethdev_sec.h | 139 ++++ > drivers/net/octeontx2/otx2_ethdev_sec_tx.h | 181 +++++ > drivers/net/octeontx2/otx2_flow.c | 26 + > drivers/net/octeontx2/otx2_lookup.c | 11 +- > drivers/net/octeontx2/otx2_rx.c | 27 +- > drivers/net/octeontx2/otx2_rx.h | 377 ++++++--- > drivers/net/octeontx2/otx2_tx.c | 29 +- > drivers/net/octeontx2/otx2_tx.h | 271 +++++-- > 39 files changed, 2696 insertions(+), 282 deletions(-) > create mode 100644 drivers/common/octeontx2/otx2_sec_idev.c > create mode 100644 drivers/common/octeontx2/otx2_sec_idev.h > create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_qp.h > create mode 100644 drivers/crypto/octeontx2/otx2_ipsec_fp.h > create mode 100644 drivers/net/octeontx2/otx2_ethdev_sec.c > create mode 100644 drivers/net/octeontx2/otx2_ethdev_sec.h > create mode 100644 drivers/net/octeontx2/otx2_ethdev_sec_tx.h >=20 Applied to dpdk-next-crypto Thanks.