examples/ipsec-secgw: fix implicit selection of library mode
Checks
Commit Message
Right now majority of lib mode functional tests enable
library mode with '-w N' option.
It worked till recently, as legacy mode didn't support replay window.
Now it changed.
To fix - use '-l' option to enable library mode explicitly.
Fixes: 929784452094 ("examples/ipsec-secgw: add scripts for functional test")
Fixes: 642d5eb0a79f ("ipsec: remove redundant replay_win_sz")
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
examples/ipsec-secgw/test/bypass_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_3descbc_sha1_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_3descbc_sha1_esn_atom_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_3descbc_sha1_esn_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aescbc_sha1_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aescbc_sha1_esn_atom_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aescbc_sha1_esn_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesctr_sha1_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesctr_sha1_esn_atom_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesctr_sha1_esn_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesgcm_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesgcm_esn_atom_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesgcm_esn_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_3descbc_sha1_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_3descbc_sha1_esn_atom_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_3descbc_sha1_esn_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aescbc_sha1_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aescbc_sha1_esn_atom_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aescbc_sha1_esn_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aesctr_sha1_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aesctr_sha1_esn_atom_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aesctr_sha1_esn_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aesgcm_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aesgcm_esn_atom_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aesgcm_esn_defs.sh | 2 +-
25 files changed, 25 insertions(+), 25 deletions(-)
Comments
> Right now majority of lib mode functional tests enable
> library mode with '-w N' option.
> It worked till recently, as legacy mode didn't support replay window.
> Now it changed.
> To fix - use '-l' option to enable library mode explicitly.
>
> Fixes: 929784452094 ("examples/ipsec-secgw: add scripts for functional test")
> Fixes: 642d5eb0a79f ("ipsec: remove redundant replay_win_sz")
>
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> ---
This patch should be a separate patch over that "ipsec: remove redundant replay_win_sz"
Applied to dpdk-next-crypto
Thanks.
@@ -28,7 +28,7 @@ EOF
cat ${SGW_CFG_FILE}
}
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
config_remote_xfrm()
{
@@ -2,7 +2,7 @@
. ${DIR}/trs_3descbc_sha1_common_defs.sh
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
config_remote_xfrm()
{
@@ -2,4 +2,4 @@
. ${DIR}/trs_3descbc_sha1_esn_defs.sh
-SGW_CMD_XPRM='-e -a -w 300'
+SGW_CMD_XPRM='-e -a -w 300 -l'
@@ -2,7 +2,7 @@
. ${DIR}/trs_3descbc_sha1_common_defs.sh
-SGW_CMD_XPRM='-e -w 300'
+SGW_CMD_XPRM='-e -w 300 -l'
config_remote_xfrm()
{
@@ -2,7 +2,7 @@
. ${DIR}/trs_aescbc_sha1_common_defs.sh
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
config_remote_xfrm()
{
@@ -2,4 +2,4 @@
. ${DIR}/trs_aescbc_sha1_esn_defs.sh
-SGW_CMD_XPRM='-e -a -w 300'
+SGW_CMD_XPRM='-e -a -w 300 -l'
@@ -2,7 +2,7 @@
. ${DIR}/trs_aescbc_sha1_common_defs.sh
-SGW_CMD_XPRM='-e -w 300'
+SGW_CMD_XPRM='-e -w 300 -l'
config_remote_xfrm()
{
@@ -2,7 +2,7 @@
. ${DIR}/trs_aesctr_sha1_common_defs.sh
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
config_remote_xfrm()
{
@@ -2,4 +2,4 @@
. ${DIR}/trs_aesctr_sha1_esn_defs.sh
-SGW_CMD_XPRM='-e -a -w 300'
+SGW_CMD_XPRM='-e -a -w 300 -l'
@@ -2,7 +2,7 @@
. ${DIR}/trs_aesctr_sha1_common_defs.sh
-SGW_CMD_XPRM='-e -w 300'
+SGW_CMD_XPRM='-e -w 300 -l'
config_remote_xfrm()
{
@@ -2,7 +2,7 @@
. ${DIR}/trs_aesgcm_common_defs.sh
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
config_remote_xfrm()
{
@@ -2,4 +2,4 @@
. ${DIR}/trs_aesgcm_esn_defs.sh
-SGW_CMD_XPRM='-e -a -w 300'
+SGW_CMD_XPRM='-e -a -w 300 -l'
@@ -2,7 +2,7 @@
. ${DIR}/trs_aesgcm_common_defs.sh
-SGW_CMD_XPRM='-e -w 300'
+SGW_CMD_XPRM='-e -w 300 -l'
config_remote_xfrm()
{
@@ -2,7 +2,7 @@
. ${DIR}/tun_3descbc_sha1_common_defs.sh
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
config_remote_xfrm()
{
@@ -2,4 +2,4 @@
. ${DIR}/tun_3descbc_sha1_esn_defs.sh
-SGW_CMD_XPRM='-e -a -w 300'
+SGW_CMD_XPRM='-e -a -w 300 -l'
@@ -2,7 +2,7 @@
. ${DIR}/tun_3descbc_sha1_common_defs.sh
-SGW_CMD_XPRM='-e -w 300'
+SGW_CMD_XPRM='-e -w 300 -l'
config_remote_xfrm()
{
@@ -2,7 +2,7 @@
. ${DIR}/tun_aescbc_sha1_common_defs.sh
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
config_remote_xfrm()
{
@@ -2,4 +2,4 @@
. ${DIR}/tun_aescbc_sha1_esn_defs.sh
-SGW_CMD_XPRM='-e -a -w 300'
+SGW_CMD_XPRM='-e -a -w 300 -l'
@@ -2,7 +2,7 @@
. ${DIR}/tun_aescbc_sha1_common_defs.sh
-SGW_CMD_XPRM='-e -w 300'
+SGW_CMD_XPRM='-e -w 300 -l'
config_remote_xfrm()
{
@@ -2,7 +2,7 @@
. ${DIR}/tun_aesctr_sha1_common_defs.sh
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
config_remote_xfrm()
{
@@ -2,4 +2,4 @@
. ${DIR}/tun_aesctr_sha1_esn_defs.sh
-SGW_CMD_XPRM='-e -a -w 300'
+SGW_CMD_XPRM='-e -a -w 300 -l'
@@ -2,7 +2,7 @@
. ${DIR}/tun_aesctr_sha1_common_defs.sh
-SGW_CMD_XPRM='-e -w 300'
+SGW_CMD_XPRM='-e -w 300 -l'
config_remote_xfrm()
{
@@ -2,7 +2,7 @@
. ${DIR}/tun_aesgcm_common_defs.sh
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
config_remote_xfrm()
{
@@ -2,4 +2,4 @@
. ${DIR}/tun_aesgcm_esn_defs.sh
-SGW_CMD_XPRM='-e -a -w 300'
+SGW_CMD_XPRM='-e -a -w 300 -l'
@@ -2,7 +2,7 @@
. ${DIR}/tun_aesgcm_common_defs.sh
-SGW_CMD_XPRM='-e -w 300'
+SGW_CMD_XPRM='-e -w 300 -l'
config_remote_xfrm()
{