From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B5897A0547; Sun, 17 Oct 2021 14:17:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B61B40041; Sun, 17 Oct 2021 14:17:31 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id ACE3F4003C for ; Sun, 17 Oct 2021 14:17:29 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19HB0bDC027420; Sun, 17 Oct 2021 05:17:27 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2106.outbound.protection.outlook.com [104.47.58.106]) by mx0b-0016f401.pphosted.com with ESMTP id 3bqx8q2ukm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 17 Oct 2021 05:17:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BXQO8BHV11f6rAbAv/78Ya2Veu3dqKnTtKl0hGCCzTVxmewGbNCufbC9kL3Zobfk+9xe4d3G0vzU2vh8Qs14dCtmROcxOt/qytFB+4vR5X6rEXICgrtBuPbfPyCdfobUWYzzpkiQF8iC6gb4PP9soIOJ7th4+hdvS4guxv56ano+9d3G/lwjY2UkSWLxEmhlzLpw8/WACY0mHzy9cC2uEjoPwq/zrtnaRtFIYbUxU3Mv9Zfk+RlCV3JztHuMmXLFr3bknSPnSp4JU4UMZboHLkXffAUmcjP/JSF6wrDmZoT76kgAQBOH7rmEtgzfF0lk0OqJLeZmStYEn/IbTxd4Pg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Mn/6cpsgp7Y8XiBFuWRsxbkZn4/+TbAOBLXtPJ10ejk=; b=arL8iMD60u8YcJwNJqf1xWok83uWjMOZm1tsPDZR17sKDVO9167S0mt0jR+mx/sTe7RVFZn3Z23Mm+gwcz1+0vrRA5LrlfxyBA5CLIygmE3CRmMSDPDS/MJuS5ijb8g1n8X5pbmHCEDLbtpXdrIhWYVVqerEjfFHa3vCJDk9odwBQNw9PY9Q/taNBwtKVHqG8fCcU6PjNRyhjP71Ggjp1yTwBkmy45xsbMqrRoLELTzVcKhDAvBOEmGdhIYzmL5r3JXJog0vYxyFSb8Q7hgkp9TJBs01IIwoBQie+Y4UxQZ0rFsn9tRTm2U7hLOQ4eZDZ1xRwSzmy+23tsIUhVUzhA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Mn/6cpsgp7Y8XiBFuWRsxbkZn4/+TbAOBLXtPJ10ejk=; b=vHo4Mt9m6SVupO+8oZZ0C0zYCd1n4O66IbdaOw1AYSsXAxuDvdS5fuAS+aflH+xGBSXQVRROPWeTuJF3sMqR+i4NpbjJEpfWaIL4rcc8UAd1MCuKzeL4HnvTohLkNzKlfG4ri7Znxc+LwvP93C871qVjuuSDEDUWVSH/de8cDbE= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4602.namprd18.prod.outlook.com (2603:10b6:303:e1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15; Sun, 17 Oct 2021 12:17:23 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8%8]) with mapi id 15.20.4608.018; Sun, 17 Oct 2021 12:17:23 +0000 From: Akhil Goyal To: Radu Nicolau CC: "dev@dpdk.org" , "mdr@ashroe.eu" , "konstantin.ananyev@intel.com" , "vladimir.medvedkin@intel.com" , "bruce.richardson@intel.com" , "roy.fan.zhang@intel.com" , "hemant.agrawal@nxp.com" , Anoob Joseph , "declan.doherty@intel.com" , "abhijit.sinha@intel.com" , "daniel.m.buckley@intel.com" , Archana Muniganti , Tejasree Kondoj , "matan@nvidia.com" Thread-Topic: [EXT] [PATCH v10 0/9] new features for ipsec and security libraries Thread-Index: AQHXwRe7aTOOTVzv8Uud1TAk6sVoAavXHx+Q Date: Sun, 17 Oct 2021 12:17:23 +0000 Message-ID: References: <20210713133542.3550525-1-radu.nicolau@intel.com> <20211014160329.579970-1-radu.nicolau@intel.com> In-Reply-To: <20211014160329.579970-1-radu.nicolau@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1b071e41-043e-4468-4468-08d991681364 x-ms-traffictypediagnostic: CO1PR18MB4602: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:497; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Yr/KcTYLdWnGungX+GTrJTokj8M2iyVFniMrR6ma2A8Qs8Q58l7LOKLRuHM9nfkib9queIpHaE9YXYthFwaGuLJqX+BcUI8wKYCT9ut9HvyuEjoK0q+XjK15ACZr/IsgVT8LD9fX1m3RjlmYgYDv5+FMeOmMFGuzndX2X3cSmZDXEkBaWEZBe1MkspJFsThee1qxBrdQm3gso32D7O4HMm4zdjvhtoZhiJ/9xaoppGnVuuR4eS7L0o6ENkuQXww2pa2LBoRWsZGFXYrRuRhb5YpRNiOQeFKlAnIe6r5xAXVt2q8r8EvJQy94SYa7UKhUJHHozNmdvCiaTsXTj+HTJvhWx2rY0m8YPRon8hgmvI7SmhmqUhYeKcDGrXWzF4ufk+jX/IYtmM6ybQel3VY8WuCrD3BOqvpjN4+vffCsOki2yRArPcoz95XCHwM+DfG0myvdHAR7tZ/xd7Uy4dQvhwYUqm8XqT7FBTOJ8s8qXI+Ba15Maz89bnR2rHq7WBX1eLuP5vcJLR4G3C9C205TWevSNUTRKd3AlmK5LP3bofCzbmYi5v7sapWaIIxLI6JgkguTtDEMoYLS7bt1qSdYpNJangAhBIwFINRyRf650TCn7EBLdhdCWviECmpUVeQGNLr4iMpYHflgh/jJWbrJl9iLFQomKCyXAlBd7roBThRKNgakPMprpXPlLQ7Ykr1L3Z2DosPph8MzgZrk/d05lw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38100700002)(6506007)(5660300002)(55016002)(186003)(7416002)(54906003)(66946007)(66476007)(66446008)(122000001)(4326008)(8676002)(38070700005)(55236004)(83380400001)(2906002)(64756008)(66556008)(86362001)(76116006)(6916009)(33656002)(52536014)(7696005)(26005)(15650500001)(508600001)(9686003)(8936002)(71200400001)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vbbzH5xH+cs/wpTuqYCyW5zyduUk77sh9pCXun4jBj12fsoqq0SPH69h8fkc?= =?us-ascii?Q?YjRx3i40GL3XRkt1tjFc7La3H3279Ny+zvuZyeUCnnp+5Bqr5xnKz6n2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xOP8uTyLVchq1X5FZuc6AmiQ9n1EkzwYd6z?= =?us-ascii?Q?oOBuEG9sB3JnZAqnFsufIXce2c3yCijNZgu3BqdSzOmiC9SQwnTqYKE/cCS5?= =?us-ascii?Q?IPk37tYIzi1tMvhcHADCmVF+QWvIPVy8wBkXqLFCXhtk5qSN+RZ5W89yEDa6?= =?us-ascii?Q?M1SWZRa0oUgKlP0HyoSvp4JOZHHvMRis+9yZRsDmIXKyA1LVZMYE08aV+wPi?= =?us-ascii?Q?kMysmZonkvdPRvU5mUZCHz9vckfjj45NWBht88uHiSnF2z545D3H2+bDWvM1?= =?us-ascii?Q?nFjmmzNnak7j3bwwSETvbN99Uo2JyQKHh95YiAu49PJM8BDyS1IGff4wbfg9?= =?us-ascii?Q?TLZ7uvcsEAJ8hQDbwggSAvwj?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b071e41-043e-4468-4468-08d991681364 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2021 12:17:23.5619 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7fh94afeCahH8T88Tb/TJq8wtQNZJX8rZ7BHkFyoHkhCBk1NcmZQaVFIvRWCiIjHSXWtuvZRilqCuEyVvKKcDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4602 X-Proofpoint-ORIG-GUID: QbPRVis2ir3AeapnVK4EMXvfu09zdBGh X-Proofpoint-GUID: QbPRVis2ir3AeapnVK4EMXvfu09zdBGh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-17_04,2021-10-14_02,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] [PATCH v10 0/9] new features for ipsec and security libraries X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > Add support for: > NAT-T/UDP encapsulation > AES_CCM, CHACHA20_POLY1305 and AES_GMAC > SA telemetry > ESN with initial SQN value >=20 > Signed-off-by: Declan Doherty > Signed-off-by: Radu Nicolau > Signed-off-by: Abhijit Sinha > Signed-off-by: Daniel Martin Buckley >=20 > Radu Nicolau (9): > security: add ESN field to ipsec_xform > ipsec: add support for AEAD algorithms > security: add UDP params for IPsec NAT-T > ipsec: add support for NAT-T > mbuf: add IPsec ESP tunnel type > ipsec: add support for SA telemetry > ipsec: add support for initial SQN value > doc: remove unneeded ipsec new field deprecation Can you specify why this field is not needed now? > doc: remove unneeded security deprecation Series Acked-by: Akhil Goyal Modified release notes and patch titles while merging. Applied to dpdk-next-crypto Thanks. >=20 > doc/guides/prog_guide/ipsec_lib.rst | 12 +- > doc/guides/rel_notes/deprecation.rst | 11 -- > doc/guides/rel_notes/release_21_11.rst | 16 ++ > lib/ipsec/crypto.h | 137 ++++++++++++++ > lib/ipsec/esp_inb.c | 84 ++++++++- > lib/ipsec/esp_outb.c | 91 ++++++++- > lib/ipsec/ipsec_telemetry.c | 244 +++++++++++++++++++++++++ > lib/ipsec/meson.build | 6 +- > lib/ipsec/rte_ipsec.h | 23 +++ > lib/ipsec/rte_ipsec_sa.h | 9 +- > lib/ipsec/sa.c | 120 ++++++++++-- > lib/ipsec/sa.h | 15 ++ > lib/ipsec/version.map | 9 + > lib/mbuf/rte_mbuf_core.h | 1 + > lib/security/rte_security.h | 15 ++ > 15 files changed, 745 insertions(+), 48 deletions(-) > create mode 100644 lib/ipsec/ipsec_telemetry.c >=20 > -- >=20 > v2: fixed lib/ipsec/version.map updates to show correct version > v3: fixed build error and corrected misspelled email address > v4: add doxygen comments for the IPsec telemetry APIs > update inline comments refering to the wrong RFC > v5: update commit messages after feedback > update the UDP encapsulation patch to actually use the configured por= ts > v6: fix initial SQN value > v7: reworked the patches after feedback > v8: updated library doc, release notes and removed deprecation notices > v9: reworked telemetry, tso and esn patches > v10: removed TSO patch, addressed feedback >=20 > 2.25.1