telemetry: move some functions to metrics library
[dpdk.git] / examples / ipsec-secgw / test / tun_aesgcm_defs.sh
index 1764ef6..5e0c935 100644 (file)
@@ -1,8 +1,9 @@
 #! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
 
 . ${DIR}/tun_aesgcm_common_defs.sh
 
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
 
 config_remote_xfrm()
 {
@@ -35,11 +36,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 +68,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}
 }