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 E1D77A0C47; Tue, 6 Jul 2021 13:39:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63F91412BA; Tue, 6 Jul 2021 13:39:19 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 893804129B for ; Tue, 6 Jul 2021 13:39:16 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10036"; a="208917683" X-IronPort-AV: E=Sophos;i="5.83,328,1616482800"; d="scan'208";a="208917683" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2021 04:39:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,328,1616482800"; d="scan'208";a="496571956" Received: from silpixa00400884.ir.intel.com ([10.243.22.82]) by fmsmga002.fm.intel.com with ESMTP; 06 Jul 2021 04:39:14 -0700 From: Radu Nicolau To: Akhil Goyal , Declan Doherty Cc: dev@dpdk.org, Radu Nicolau , Abhijit Sinha , Daniel Martin Buckley Date: Tue, 6 Jul 2021 12:28:58 +0100 Message-Id: <20210706112904.3094598-4-radu.nicolau@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210706112904.3094598-1-radu.nicolau@intel.com> References: <20210706112904.3094598-1-radu.nicolau@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC 03/10] security: add ESN field to ipsec_xform 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" Update ipsec_xform definition to include ESN field. Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Signed-off-by: Abhijit Sinha Signed-off-by: Daniel Martin Buckley --- lib/security/rte_security.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index 03572b10ab..702de58b48 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -240,6 +240,14 @@ struct rte_security_ipsec_xform { */ uint32_t mss; /**< IPsec payload Maximum Segment Size */ + union { + uint64_t value; + struct { + uint32_t low; + uint32_t hi; + }; + } esn; + /**< Extended Sequence Number */ }; /** -- 2.25.1