]> git.droids-corp.org - dpdk.git/commitdiff
examples/ipsec-secgw: fix library mode selection in tests
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Wed, 6 Nov 2019 14:22:02 +0000 (14:22 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 8 Nov 2019 12:51:16 +0000 (13:51 +0100)
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")
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
25 files changed:
examples/ipsec-secgw/test/bypass_defs.sh
examples/ipsec-secgw/test/trs_3descbc_sha1_defs.sh
examples/ipsec-secgw/test/trs_3descbc_sha1_esn_atom_defs.sh
examples/ipsec-secgw/test/trs_3descbc_sha1_esn_defs.sh
examples/ipsec-secgw/test/trs_aescbc_sha1_defs.sh
examples/ipsec-secgw/test/trs_aescbc_sha1_esn_atom_defs.sh
examples/ipsec-secgw/test/trs_aescbc_sha1_esn_defs.sh
examples/ipsec-secgw/test/trs_aesctr_sha1_defs.sh
examples/ipsec-secgw/test/trs_aesctr_sha1_esn_atom_defs.sh
examples/ipsec-secgw/test/trs_aesctr_sha1_esn_defs.sh
examples/ipsec-secgw/test/trs_aesgcm_defs.sh
examples/ipsec-secgw/test/trs_aesgcm_esn_atom_defs.sh
examples/ipsec-secgw/test/trs_aesgcm_esn_defs.sh
examples/ipsec-secgw/test/tun_3descbc_sha1_defs.sh
examples/ipsec-secgw/test/tun_3descbc_sha1_esn_atom_defs.sh
examples/ipsec-secgw/test/tun_3descbc_sha1_esn_defs.sh
examples/ipsec-secgw/test/tun_aescbc_sha1_defs.sh
examples/ipsec-secgw/test/tun_aescbc_sha1_esn_atom_defs.sh
examples/ipsec-secgw/test/tun_aescbc_sha1_esn_defs.sh
examples/ipsec-secgw/test/tun_aesctr_sha1_defs.sh
examples/ipsec-secgw/test/tun_aesctr_sha1_esn_atom_defs.sh
examples/ipsec-secgw/test/tun_aesctr_sha1_esn_defs.sh
examples/ipsec-secgw/test/tun_aesgcm_defs.sh
examples/ipsec-secgw/test/tun_aesgcm_esn_atom_defs.sh
examples/ipsec-secgw/test/tun_aesgcm_esn_defs.sh

index 12a8a5aff784194b24cfff5e7698123f523a3841..d8d54833c68a9ff099643f5ec52751fdd52dba08 100644 (file)
@@ -28,7 +28,7 @@ EOF
        cat ${SGW_CFG_FILE}
 }
 
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
 
 config_remote_xfrm()
 {
index 31f94492fe9c7c7faa21ca00cad93c7b68f65ac0..35c31dc77d29f741fc634be2ad8b2bc8ebe746d4 100644 (file)
@@ -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()
 {
index d7439ad15dc770db471499528ecd5070b557feb6..c640720de5bacf65a81b22ffe5e59800006e0db3 100644 (file)
@@ -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'
index e4283f3ddf73be8f9b1d4434b8d9c1c0ac47a49f..7b62dcfbf9040a2dfa59010a9dd959b8d9614b24 100644 (file)
@@ -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()
 {
index d68552fcec553532b3365bcfa858a251634e1126..ae20fa96dbb4178bd9e56fd470c78d8fad04b15d 100644 (file)
@@ -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()
 {
index f16222e1114a88d5b68e886ac3845a12a7698fed..ee7c0a37f960c268b8a5f49c78768c294490ee80 100644 (file)
@@ -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'
index ce7c977a3aa169bb811e114853662854e614f76c..5f8b0992ed74782387d85a8627f1eb825173a65b 100644 (file)
@@ -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()
 {
index 73642f881efe3fe46cda469115ab816ac0d44291..5d569ec5fd4f0860afdc47d556f3a4b4751e0f0b 100644 (file)
@@ -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()
 {
index 17c81c2675f407ddf4b2914786cf6a4aae4d309b..14066ffd48d3b5af8b6bf5ddc381f302b3aa068b 100644 (file)
@@ -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'
index e401a4bed9dbdef69bb66ebf1a50512f40d305c9..05ed982549d1acfcce763129be793f263b8c0368 100644 (file)
@@ -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()
 {
index 8382d3d52b7a0e05e1d2df72518aed7508af8dac..ca872df3377ea97c595b29acd1a4079b4da12be8 100644 (file)
@@ -2,7 +2,7 @@
 
 . ${DIR}/trs_aesgcm_common_defs.sh
 
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
 
 config_remote_xfrm()
 {
index 80d8d63b82e18194918cfea5d0fd69a943f9a7f4..2d3ae057b5fdb61494aa480ad2db8e799ab9c27b 100644 (file)
@@ -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'
index 94958d1994280aa725928b75549c26043651c9da..d4cb1081087a34d9dfd0712eb01016d45a067af5 100644 (file)
@@ -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()
 {
index 2bbe1429296ce5989b447ecb795b2a4114f1cb2b..63df5a4a40d77c49c2c5091611f9d81be1716616 100644 (file)
@@ -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()
 {
index 1d8e36cbdf48de3b56e9dda6cf4200fc7f025453..316331c149852f60c2bab24f67beadcdffa38773 100644 (file)
@@ -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'
index 98349c7bc6f486a3b27a55497ffb29b29a8b31c8..cded9289e17b2d9304ab29a51226d3983460ac45 100644 (file)
@@ -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()
 {
index 18aade3a9399f8093f995dc110f92f6f3b13ae51..40607a76f8a53364166104ba7a0cb95c7e3a3026 100644 (file)
@@ -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()
 {
index 6b4a82149a4a3a7c609650a10173006154143f4f..d2b70ffe165ac8c06d2f463615fdfdbd83c64f7a 100644 (file)
@@ -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'
index 28c1125d643a6e5ec19a568f8a1b660bafbd0852..e95157e67addba807d9b78f37c586de619769ec0 100644 (file)
@@ -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()
 {
index 3710f897c6ab572e5aa5f6b881f23619d93d26b6..1fee291659ccc159f882c0e7dd39e4970090c2fc 100644 (file)
@@ -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()
 {
index 7dcfc321826830e6c05f2d18b67f2af0ed044999..ba0506a23a9d79618f0b1bb0ae3d9c294d721776 100644 (file)
@@ -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'
index c3ce11da12507864402948d084f4800b0af29684..0dfe47b08a9a279294ad6d62cf73ab7c65b76db4 100644 (file)
@@ -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()
 {
index 8ae65321bc5f74605dd53368218e9a058301f761..b4be0596f94d57a67231aba90838f636df20c703 100644 (file)
@@ -2,7 +2,7 @@
 
 . ${DIR}/tun_aesgcm_common_defs.sh
 
-SGW_CMD_XPRM='-w 300'
+SGW_CMD_XPRM='-w 300 -l'
 
 config_remote_xfrm()
 {
index dab1460c88c35ca5e604a692913fca17647bf5c5..79df9ee8c8d7045679fd7283451a06e8ee63285d 100644 (file)
@@ -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'
index 60623234963d0ae2d5bd56fa0ee81e1017114a99..3c374631df3acd1decd9449aebe535742397b0fa 100644 (file)
@@ -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()
 {