From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Iremonger Subject: [PATCH v3 0/2] examples/ipsec-secgw: fix 1st pkt dropped Date: Thu, 4 Apr 2019 14:28:13 +0100 Message-ID: <1554384495-7936-1-git-send-email-bernard.iremonger@intel.com> References: <1551970666-23557-1-git-send-email-bernard.iremonger@intel.com> Cc: Bernard Iremonger To: dev@dpdk.org, konstantin.ananyev@intel.com, akhil.goyal@nxp.com Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id F14C137B0 for ; Thu, 4 Apr 2019 15:28:21 +0200 (CEST) In-Reply-To: <1551970666-23557-1-git-send-email-bernard.iremonger@intel.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 patchset fixes the issue of the first inbound packet being dropped for inline crypto. Changes in v3: -------------- The previous refactoring of the create_session() function has been dropped. The create_session() function is now called from sa_init() at startup. The following functions have been added: crypto_devid_fill() in ipsec-secgw.c check_cryptodev_capability() in ipsec.c check_cryptodev_aead_capability() in ipsec.c create_sec_session() and create_crypto_session() in ipsec.c The create_session() function has been refactored to call the create_sec_session() and create_crypto_session() functions. Changes in v2: -------------- The first three patches of the v1 have been squashed. The commit message for the squashed patch has been updated. Patches 4,5 and 6 of the v1 have been dropped from this patchset. A patch to fix the test scripts has been added. Bernard Iremonger (2): examples/ipsec-secgw: fix 1st packet dropped for inline crypto examples/ipsec-secgw/test: fix inline test scripts examples/ipsec-secgw/ipsec-secgw.c | 271 +++++++------ examples/ipsec-secgw/ipsec.c | 569 ++++++++++++++------------- examples/ipsec-secgw/ipsec.h | 10 +- examples/ipsec-secgw/ipsec_process.c | 38 +- examples/ipsec-secgw/sa.c | 42 +- examples/ipsec-secgw/test/trs_aesgcm_defs.sh | 10 - examples/ipsec-secgw/test/tun_aesgcm_defs.sh | 10 - 7 files changed, 495 insertions(+), 455 deletions(-) -- 2.7.4