From patchwork Wed Jun 12 14:52:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Iremonger, Bernard" X-Patchwork-Id: 54738 X-Patchwork-Delegate: gakhil@marvell.com 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 A09251D103; Wed, 12 Jun 2019 16:52:16 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 396D51C1C6; Wed, 12 Jun 2019 16:52:14 +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:13 -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:12 -0700 From: Bernard Iremonger To: dev@dpdk.org, konstantin.ananyev@intel.com, akhil.goyal@nxp.com Cc: Bernard Iremonger , stable@dpdk.org Date: Wed, 12 Jun 2019 15:52:01 +0100 Message-Id: <1560351121-21234-3-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 2/2] examples/ipsec-secgw/test: fix inline test scripts 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" Remove workaround in tun_aesgcm_defs.sh and trs_aesgcm_defs.sh to get around the bug where the first inbound packet is dropped for inline crypto. Fixes: 929784452094 ("examples/ipsec-secgw: add scripts for functional test") Cc: stable@dpdk.org Signed-off-by: Bernard Iremonger Acked-by: Konstantin Ananyev Tested-by: Konstantin Ananyev --- examples/ipsec-secgw/test/trs_aesgcm_defs.sh | 10 ---------- examples/ipsec-secgw/test/tun_aesgcm_defs.sh | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/examples/ipsec-secgw/test/trs_aesgcm_defs.sh b/examples/ipsec-secgw/test/trs_aesgcm_defs.sh index a4d902b..8382d3d 100755 --- a/examples/ipsec-secgw/test/trs_aesgcm_defs.sh +++ b/examples/ipsec-secgw/test/trs_aesgcm_defs.sh @@ -33,11 +33,6 @@ aead "rfc4106\(gcm\(aes\)\)" \ ssh ${REMOTE_HOST} ip xfrm policy list ssh ${REMOTE_HOST} ip xfrm state list - - # to overcome problem with ipsec-secgw for inline mode, - # when first packet(s) will be always dropped. - # note that ping will fail here - ssh ${REMOTE_HOST} ping -c 1 ${LOCAL_IPV4} } config6_remote_xfrm() @@ -68,9 +63,4 @@ aead "rfc4106\(gcm\(aes\)\)" \ ssh ${REMOTE_HOST} ip xfrm policy list ssh ${REMOTE_HOST} ip xfrm state list - - # to overcome problem with ipsec-secgw for inline mode, - # when first packet(s) will be always dropped. - # note that ping will fail here - ssh ${REMOTE_HOST} ping -c 1 ${LOCAL_IPV6} } diff --git a/examples/ipsec-secgw/test/tun_aesgcm_defs.sh b/examples/ipsec-secgw/test/tun_aesgcm_defs.sh index 1764ef6..8ae6532 100755 --- a/examples/ipsec-secgw/test/tun_aesgcm_defs.sh +++ b/examples/ipsec-secgw/test/tun_aesgcm_defs.sh @@ -35,11 +35,6 @@ aead "rfc4106\(gcm\(aes\)\)" \ ssh ${REMOTE_HOST} ip xfrm policy list ssh ${REMOTE_HOST} ip xfrm state list - - # to overcome problem with ipsec-secgw for inline mode, - # when first packet(s) will be always dropped. - # note that ping will fail here - ssh ${REMOTE_HOST} ping -c 1 ${LOCAL_IPV4} } config6_remote_xfrm() @@ -72,9 +67,4 @@ aead "rfc4106\(gcm\(aes\)\)" \ ssh ${REMOTE_HOST} ip xfrm policy list ssh ${REMOTE_HOST} ip xfrm state list - - # to overcome problem with ipsec-secgw for inline mode, - # when first packet(s) will be always dropped. - # note that ping will fail here - ssh ${REMOTE_HOST} ping6 -c 1 ${LOCAL_IPV6} }