From patchwork Tue Jul 13 13:35:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Radu Nicolau X-Patchwork-Id: 95805 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 21577A0C4B; Tue, 13 Jul 2021 15:46:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F12C412AB; Tue, 13 Jul 2021 15:46:56 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id CFAD741263 for ; Tue, 13 Jul 2021 15:46:53 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10043"; a="189847496" X-IronPort-AV: E=Sophos;i="5.84,236,1620716400"; d="scan'208";a="189847496" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2021 06:46:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,236,1620716400"; d="scan'208";a="451761643" Received: from silpixa00400884.ir.intel.com ([10.243.22.82]) by orsmga007.jf.intel.com with ESMTP; 13 Jul 2021 06:46:50 -0700 From: Radu Nicolau To: Cc: dev@dpdk.org, Radu Nicolau , Declan Doherty , Abhijit Sinha , Daniel Martin Buckley Date: Tue, 13 Jul 2021 14:35:32 +0100 Message-Id: <20210713133542.3550525-1-radu.nicolau@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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 This patchset introduces ABI breakages and it is intended for 21.11 release 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 support for TSO on IPsec session security: add UDP params for IPsec NAT-T security: add ESN field to ipsec_xform mbuf: add IPsec ESP tunnel type ipsec: add support for AEAD algorithms ipsec: add transmit segmentation offload support ipsec: add support for NAT-T ipsec: add support for SA telemetry ipsec: add support for initial SQN value ipsec: add ol_flags support lib/ipsec/crypto.h | 137 ++++++++++++ lib/ipsec/esp_inb.c | 88 +++++++- lib/ipsec/esp_outb.c | 262 +++++++++++++++++++---- lib/ipsec/iph.h | 23 +- lib/ipsec/meson.build | 2 +- lib/ipsec/rte_ipsec.h | 11 + lib/ipsec/rte_ipsec_sa.h | 11 +- lib/ipsec/sa.c | 406 ++++++++++++++++++++++++++++++++++-- lib/ipsec/sa.h | 43 ++++ lib/ipsec/version.map | 8 + lib/mbuf/rte_mbuf_core.h | 1 + lib/security/rte_security.h | 31 +++ 12 files changed, 950 insertions(+), 73 deletions(-)