From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Iremonger Subject: [PATCH v3 2/2] examples/ipsec-secgw/test: fix inline test scripts Date: Thu, 4 Apr 2019 14:28:15 +0100 Message-ID: <1554384495-7936-3-git-send-email-bernard.iremonger@intel.com> References: <1551970666-23557-1-git-send-email-bernard.iremonger@intel.com> Cc: Bernard Iremonger , stable@dpdk.org To: dev@dpdk.org, konstantin.ananyev@intel.com, akhil.goyal@nxp.com Return-path: 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" 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 --- 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 100644 --- 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 100644 --- 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} } -- 2.7.4