From patchwork Wed Jun 12 14:51:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Iremonger, Bernard" X-Patchwork-Id: 54736 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F3DB41D07A; Wed, 12 Jun 2019 16:52:08 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id C41F01C1C6 for ; Wed, 12 Jun 2019 16:52:07 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jun 2019 07:52:06 -0700 X-ExtLoop1: 1 Received: from sivswdev08.ir.intel.com (HELO localhost.localdomain) ([10.237.217.47]) by fmsmga004.fm.intel.com with ESMTP; 12 Jun 2019 07:52:05 -0700 From: Bernard Iremonger To: dev@dpdk.org, konstantin.ananyev@intel.com, akhil.goyal@nxp.com Cc: Bernard Iremonger Date: Wed, 12 Jun 2019 15:51:59 +0100 Message-Id: <1560351121-21234-1-git-send-email-bernard.iremonger@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1559819547-20742-1-git-send-email-bernard.iremonger@intel.com> References: <1559819547-20742-1-git-send-email-bernard.iremonger@intel.com> Subject: [dpdk-dev] [PATCH v6 0/2] examples/ipsec-secgw: fix 1st pkt dropped X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" This patchset fixes the issue of the first inbound packet being dropped for inline crypto. Changes in v6: -------------- Rebased to latest master. Minor changes to the following functions in ipsec.c: create_lookaside_session() create_inline_session() Bernard Iremonger (2): examples/ipsec-secgw: fix 1st pkt dropped for inline crypto examples/ipsec-secgw/test: fix inline test scripts examples/ipsec-secgw/ipsec-secgw.c | 244 +++++++-------- examples/ipsec-secgw/ipsec.c | 449 ++++++++++++++------------- examples/ipsec-secgw/ipsec.h | 5 +- examples/ipsec-secgw/ipsec_process.c | 9 +- examples/ipsec-secgw/sa.c | 46 ++- examples/ipsec-secgw/test/trs_aesgcm_defs.sh | 10 - examples/ipsec-secgw/test/tun_aesgcm_defs.sh | 10 - 7 files changed, 403 insertions(+), 370 deletions(-) Changes in v5: ------------- The v2 patchset has been rebased to the latest master. The v4 patchset has been dropped as it caused issues with the lookaside code which we are unable to test. Bernard Iremonger (2): examples/ipsec-secgw: fix 1st pkt dropped for inline crypto examples/ipsec-secgw/test: fix inline test scripts examples/ipsec-secgw/ipsec-secgw.c | 244 +++++++++++++-------------- examples/ipsec-secgw/ipsec.c | 122 +++++++++----- examples/ipsec-secgw/ipsec.h | 5 +- examples/ipsec-secgw/ipsec_process.c | 9 +- examples/ipsec-secgw/sa.c | 46 +++-- examples/ipsec-secgw/test/trs_aesgcm_defs.sh | 10 -- examples/ipsec-secgw/test/tun_aesgcm_defs.sh | 10 -- 7 files changed, 245 insertions(+), 201 deletions(-) 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 pkt dropped for inline crypto examples/ipsec-secgw/test: fix inline test scripts examples/ipsec-secgw/ipsec-secgw.c | 243 +++++++++++++-------------- examples/ipsec-secgw/ipsec.c | 123 +++++++++----- examples/ipsec-secgw/ipsec.h | 5 +- examples/ipsec-secgw/ipsec_process.c | 9 +- examples/ipsec-secgw/sa.c | 46 +++-- examples/ipsec-secgw/test/trs_aesgcm_defs.sh | 10 -- examples/ipsec-secgw/test/tun_aesgcm_defs.sh | 10 -- 7 files changed, 246 insertions(+), 200 deletions(-)