From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anoob Joseph Subject: handle seq no overflow in IPsec offload Date: Wed, 21 Mar 2018 16:41:20 +0530 Message-ID: <1521630685-5179-1-git-send-email-anoob.joseph@caviumnetworks.com> References: <1519896103-32479-1-git-send-email-anoob.joseph@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Anoob Joseph , Jerin Jacob , Narayana Prasad , Nelio Laranjeiro , dev@dpdk.org To: Akhil Goyal , Declan Doherty , Radu Nicolau Return-path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0070.outbound.protection.outlook.com [104.47.36.70]) by dpdk.org (Postfix) with ESMTP id 14B185F17 for ; Wed, 21 Mar 2018 12:12:02 +0100 (CET) In-Reply-To: <1519896103-32479-1-git-send-email-anoob.joseph@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This series enables application to set the sequence number soft limit for IPsec offload. In inline IPsec offload, as the sequence number (maintained by PMD/device) reaches the specified soft limit, the PMD would raise an "IPSEC_EVENT". This event would have some metadata, which would be used by the application to identify the SA on which the sequence number overflow is about to happen. Anoob Joseph (5): lib/ethdev: support for inline IPsec events lib/security: add ESN soft limit in conf lib/security: extend userdata for IPsec events examples/ipsec-secgw: handle ESN soft limit event app/testpmd: support for IPsec event app/test-pmd/parameters.c | 2 ++ app/test-pmd/testpmd.c | 2 ++ examples/ipsec-secgw/ipsec-secgw.c | 56 +++++++++++++++++++++++++++++++ examples/ipsec-secgw/ipsec.c | 10 ++++-- examples/ipsec-secgw/ipsec.h | 2 ++ lib/librte_ether/rte_ethdev.h | 28 ++++++++++++++++ lib/librte_security/rte_security.h | 16 +++++---- lib/librte_security/rte_security_driver.h | 6 ++-- 8 files changed, 110 insertions(+), 12 deletions(-) -- 2.7.4