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 86C50A0C55; Wed, 13 Oct 2021 14:25:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E2D6410DA; Wed, 13 Oct 2021 14:25:26 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id C820840E64 for ; Wed, 13 Oct 2021 14:25:24 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10135"; a="207528533" X-IronPort-AV: E=Sophos;i="5.85,370,1624345200"; d="scan'208";a="207528533" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2021 05:25:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,370,1624345200"; d="scan'208";a="524607686" Received: from silpixa00400884.ir.intel.com ([10.243.22.82]) by orsmga001.jf.intel.com with ESMTP; 13 Oct 2021 05:25:20 -0700 From: Radu Nicolau To: 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, gakhil@marvell.com, anoobj@marvell.com, declan.doherty@intel.com, abhijit.sinha@intel.com, daniel.m.buckley@intel.com, marchana@marvell.com, ktejasree@marvell.com, matan@nvidia.com, Radu Nicolau Date: Wed, 13 Oct 2021 13:13:21 +0100 Message-Id: <20211013121331.300245-1-radu.nicolau@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210713133542.3550525-1-radu.nicolau@intel.com> References: <20210713133542.3550525-1-radu.nicolau@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v9 00/10] 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: TSO, NAT-T/UDP encapsulation, ESN AES_CCM, CHACHA20_POLY1305 and AES_GMAC SA telemetry mbuf offload flags Initial SQN value Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Signed-off-by: Abhijit Sinha Signed-off-by: Daniel Martin Buckley Radu Nicolau (10): 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 transmit segmentation offload support ipsec: add support for SA telemetry ipsec: add support for initial SQN value doc: remove unneeded ipsec new field deprecation doc: remove unneeded security deprecation doc/guides/prog_guide/ipsec_lib.rst | 14 +- doc/guides/rel_notes/deprecation.rst | 11 -- doc/guides/rel_notes/release_21_11.rst | 17 ++ lib/ipsec/crypto.h | 137 ++++++++++++++ lib/ipsec/esp_inb.c | 84 ++++++++- lib/ipsec/esp_outb.c | 211 +++++++++++++++++---- 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 | 119 ++++++++++-- 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, 843 insertions(+), 72 deletions(-) create mode 100644 lib/ipsec/ipsec_telemetry.c -- 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 ports 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 2.25.1