[2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts
diff mbox series

Message ID 1567069173-10505-3-git-send-email-bernard.iremonger@intel.com
State Superseded, archived
Delegated to: akhil goyal
Headers show
Series
  • examples/ipsec-secgw: set default
Related show

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail apply issues

Commit Message

Iremonger, Bernard Aug. 29, 2019, 8:59 a.m. UTC
enable legacy mode in *_old scripts

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
 examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh         | 2 +-
 examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh          | 2 +-
 examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh          | 2 +-
 examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh | 2 +-
 examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh               | 2 +-
 examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh         | 2 +-
 examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh          | 2 +-
 examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh          | 2 +-
 examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh | 2 +-
 examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh               | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

Comments

Konstantin Ananyev Sept. 26, 2019, 1:43 p.m. UTC | #1
Hi Bernard,


> 
> enable legacy mode in *_old scripts
> 
> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> ---
>  examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh         | 2 +-
>  examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh          | 2 +-
>  examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh          | 2 +-
>  examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh | 2 +-
>  examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh               | 2 +-
>  examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh         | 2 +-
>  examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh          | 2 +-
>  examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh          | 2 +-
>  examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh | 2 +-
>  examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh               | 2 +-
>  10 files changed, 10 insertions(+), 10 deletions(-)

examples/ipsec-secgw/test/run_test.sh -p fails.
I think you need to update examples/ipsec-secgw/test/pkttest.sh too.
Konstantin

> 
> diff --git a/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh b/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
> index ffd945b..1f3a9f4 100644
> --- a/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
> +++ b/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/trs_3descbc_sha1_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> diff --git a/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh b/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
> index a3abb61..093b0c9 100644
> --- a/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
> +++ b/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/trs_aescbc_sha1_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> diff --git a/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh b/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
> index 3aa0712..c6e8851 100644
> --- a/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
> +++ b/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/trs_aesctr_sha1_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> diff --git a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh b/examples/ipsec-
> secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
> index 0523049..e9fc4d8 100644
> --- a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
> +++ b/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/trs_aesgcm_inline_crypto_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> diff --git a/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh b/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
> index 951e6b6..1653d29 100644
> --- a/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
> +++ b/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/trs_aesgcm_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> diff --git a/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh b/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
> index eaf248a..8fec47a 100644
> --- a/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
> +++ b/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/tun_3descbc_sha1_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> diff --git a/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh b/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
> index 3c0d8d1..9ff08f1 100644
> --- a/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
> +++ b/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/tun_aescbc_sha1_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> diff --git a/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh b/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
> index 26f0d02..b23f0db 100644
> --- a/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
> +++ b/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/tun_aesctr_sha1_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> diff --git a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh b/examples/ipsec-
> secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
> index de65961..7574618 100644
> --- a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
> +++ b/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/tun_aesgcm_inline_crypto_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> diff --git a/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh b/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
> index e0a015e..fabfe63 100644
> --- a/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
> +++ b/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
> @@ -2,4 +2,4 @@
> 
>  . ${DIR}/tun_aesgcm_defs.sh
> 
> -SGW_CMD_XPRM=
> +SGW_CMD_XPRM='-l 0'
> --
> 2.7.4
Iremonger, Bernard Sept. 26, 2019, 1:46 p.m. UTC | #2
Hi Konstantin,


> -----Original Message-----
> From: Ananyev, Konstantin
> Sent: Thursday, September 26, 2019 2:43 PM
> To: Iremonger, Bernard <bernard.iremonger@intel.com>; dev@dpdk.org;
> akhil.goyal@nxp.com
> Subject: RE: [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old
> scripts
> 
> Hi Bernard,
> 
> 
> >
> > enable legacy mode in *_old scripts
> >
> > Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> > ---
> >  examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh         | 2 +-
> >  examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh          | 2 +-
> >  examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh          | 2 +-
> >  examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh | 2 +-
> >  examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh               | 2 +-
> >  examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh         | 2 +-
> >  examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh          | 2 +-
> >  examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh          | 2 +-
> >  examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh | 2 +-
> >  examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh               | 2 +-
> >  10 files changed, 10 insertions(+), 10 deletions(-)
> 
> examples/ipsec-secgw/test/run_test.sh -p fails.
> I think you need to update examples/ipsec-secgw/test/pkttest.sh too.
> Konstantin

I will check it.

> > diff --git a/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
> > b/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
> > index ffd945b..1f3a9f4 100644
> > --- a/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/trs_3descbc_sha1_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > diff --git a/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
> > b/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
> > index a3abb61..093b0c9 100644
> > --- a/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/trs_aescbc_sha1_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > diff --git a/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
> > b/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
> > index 3aa0712..c6e8851 100644
> > --- a/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/trs_aesctr_sha1_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > diff --git
> > a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
> > b/examples/ipsec- secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
> > index 0523049..e9fc4d8 100644
> > --- a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/trs_aesgcm_inline_crypto_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > diff --git a/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
> > b/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
> > index 951e6b6..1653d29 100644
> > --- a/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/trs_aesgcm_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > diff --git a/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
> > b/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
> > index eaf248a..8fec47a 100644
> > --- a/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/tun_3descbc_sha1_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > diff --git a/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
> > b/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
> > index 3c0d8d1..9ff08f1 100644
> > --- a/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/tun_aescbc_sha1_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > diff --git a/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
> > b/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
> > index 26f0d02..b23f0db 100644
> > --- a/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/tun_aesctr_sha1_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > diff --git
> > a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
> > b/examples/ipsec- secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
> > index de65961..7574618 100644
> > --- a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/tun_aesgcm_inline_crypto_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > diff --git a/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
> > b/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
> > index e0a015e..fabfe63 100644
> > --- a/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
> > +++ b/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
> > @@ -2,4 +2,4 @@
> >
> >  . ${DIR}/tun_aesgcm_defs.sh
> >
> > -SGW_CMD_XPRM=
> > +SGW_CMD_XPRM='-l 0'
> > --
> > 2.7.4

Regards,

Bernard

Patch
diff mbox series

diff --git a/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh b/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
index ffd945b..1f3a9f4 100644
--- a/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
+++ b/examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/trs_3descbc_sha1_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'
diff --git a/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh b/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
index a3abb61..093b0c9 100644
--- a/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
+++ b/examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/trs_aescbc_sha1_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'
diff --git a/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh b/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
index 3aa0712..c6e8851 100644
--- a/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
+++ b/examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/trs_aesctr_sha1_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'
diff --git a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh b/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
index 0523049..e9fc4d8 100644
--- a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
+++ b/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/trs_aesgcm_inline_crypto_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'
diff --git a/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh b/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
index 951e6b6..1653d29 100644
--- a/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
+++ b/examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/trs_aesgcm_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'
diff --git a/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh b/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
index eaf248a..8fec47a 100644
--- a/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
+++ b/examples/ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/tun_3descbc_sha1_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'
diff --git a/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh b/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
index 3c0d8d1..9ff08f1 100644
--- a/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
+++ b/examples/ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/tun_aescbc_sha1_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'
diff --git a/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh b/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
index 26f0d02..b23f0db 100644
--- a/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
+++ b/examples/ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/tun_aesctr_sha1_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'
diff --git a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh b/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
index de65961..7574618 100644
--- a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
+++ b/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/tun_aesgcm_inline_crypto_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'
diff --git a/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh b/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
index e0a015e..fabfe63 100644
--- a/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
+++ b/examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh
@@ -2,4 +2,4 @@ 
 
 . ${DIR}/tun_aesgcm_defs.sh
 
-SGW_CMD_XPRM=
+SGW_CMD_XPRM='-l 0'