* [dpdk-dev] [PATCH 0/2]
@ 2019-08-29 8:45 Bernard Iremonger
2019-08-29 8:45 ` [dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: set default to IPsec library mode Bernard Iremonger
2019-08-29 8:45 ` [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts Bernard Iremonger
0 siblings, 2 replies; 7+ messages in thread
From: Bernard Iremonger @ 2019-08-29 8:45 UTC (permalink / raw)
To: dev, konstantin.ananyev, akhil.goyal; +Cc: Bernard Iremonger
This patch set, sets the default code path in the ipsec-secgw
application to use the librte_ipsec.
The _old test scripts have been modified to use the legacy code
patch
Bernard Iremonger (2):
examples/ipsec-secgw: set default to IPsec library mode
examples/ipsec-secgw: add -l 0 parameter to old scripts
doc/guides/rel_notes/release_19_11.rst | 8 ++++
doc/guides/sample_app_ug/ipsec_secgw.rst | 6 ++-
examples/ipsec-secgw/ipsec-secgw.c | 44 ++++++++++++++--------
.../ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh | 2 +-
.../ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh | 2 +-
.../ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh | 2 +-
.../test/trs_aesgcm_inline_crypto_old_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesgcm_old_defs.sh | 2 +-
.../ipsec-secgw/test/tun_3descbc_sha1_old_defs.sh | 2 +-
.../ipsec-secgw/test/tun_aescbc_sha1_old_defs.sh | 2 +-
.../ipsec-secgw/test/tun_aesctr_sha1_old_defs.sh | 2 +-
.../test/tun_aesgcm_inline_crypto_old_defs.sh | 2 +-
examples/ipsec-secgw/test/tun_aesgcm_old_defs.sh | 2 +-
13 files changed, 50 insertions(+), 28 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 7+ messages in thread
* [dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: set default to IPsec library mode
2019-08-29 8:45 [dpdk-dev] [PATCH 0/2] Bernard Iremonger
@ 2019-08-29 8:45 ` Bernard Iremonger
2019-08-29 8:45 ` [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts Bernard Iremonger
1 sibling, 0 replies; 7+ messages in thread
From: Bernard Iremonger @ 2019-08-29 8:45 UTC (permalink / raw)
To: dev, konstantin.ananyev, akhil.goyal; +Cc: Bernard Iremonger
Set the default code path to librte_ipsec mode.
Add parameter 0 | 1 to -l option
Check for conflicting options, -w -a -e and reassembly options are
not supported in legacy mode.
Show fragment table size.
Update print_usage.
Update the ipsec-secgw guide.
Update the release notes.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
doc/guides/rel_notes/release_19_11.rst | 8 ++++++
doc/guides/sample_app_ug/ipsec_secgw.rst | 6 +++--
examples/ipsec-secgw/ipsec-secgw.c | 44 ++++++++++++++++++++------------
3 files changed, 40 insertions(+), 18 deletions(-)
diff --git a/doc/guides/rel_notes/release_19_11.rst b/doc/guides/rel_notes/release_19_11.rst
index 8490d89..70143c5 100644
--- a/doc/guides/rel_notes/release_19_11.rst
+++ b/doc/guides/rel_notes/release_19_11.rst
@@ -56,6 +56,14 @@ New Features
Also, make sure to start the actual text at the margin.
=========================================================
+* **Updated the IPsec Security Gateway application.**
+
+ The ``librte_ipsec`` code path is now the default code path in
+ ``ipsec-secgw``
+
+ * The ``-l`` command line option has been extended to take a 0 | 1 argument.
+ 0 enables the code path that uses legacy code.
+ 1 enables the code path that uses ``librte_ipsec``.
Removed Items
-------------
diff --git a/doc/guides/sample_app_ug/ipsec_secgw.rst b/doc/guides/sample_app_ug/ipsec_secgw.rst
index ad2d79e..17b00c0 100644
--- a/doc/guides/sample_app_ug/ipsec_secgw.rst
+++ b/doc/guides/sample_app_ug/ipsec_secgw.rst
@@ -92,7 +92,7 @@ The application has a number of command line options::
./build/ipsec-secgw [EAL options] --
-p PORTMASK -P -u PORTMASK -j FRAMESIZE
- -l -w REPLAY_WINOW_SIZE -e -a
+ -l 0 -w REPLAY_WINOW_SIZE -e -a
--config (port,queue,lcore)[,(port,queue,lcore]
--single-sa SAIDX
--rxoffload MASK
@@ -120,7 +120,9 @@ Where:
Minimum value: RTE_MBUF_DEFAULT_BUF_SIZE (2176)
Maximum value: UINT16_MAX (65535).
-* ``-l``: enables code-path that uses librte_ipsec.
+* ``-l 0 | 1``: Default is ``librte_ipsec`` code path.
+ 0 enables the code path that uses legacy code.
+ 1 enables the code path that uses ``librte_ipsec``.
* ``-w REPLAY_WINOW_SIZE``: specifies the IPsec sequence number replay window
size for each Security Association (available only with librte_ipsec
diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c
index 0d1fd6a..3e4b9e0 100644
--- a/examples/ipsec-secgw/ipsec-secgw.c
+++ b/examples/ipsec-secgw/ipsec-secgw.c
@@ -188,7 +188,7 @@ static uint32_t frame_buf_size = RTE_MBUF_DEFAULT_BUF_SIZE;
static uint32_t mtu_size = RTE_ETHER_MTU;
/* application wide librte_ipsec/SA parameters */
-struct app_sa_prm app_sa_prm = {.enable = 0};
+struct app_sa_prm app_sa_prm = {.enable = 1};
struct lcore_rx_queue {
uint16_t port_id;
@@ -1259,7 +1259,7 @@ print_usage(const char *prgname)
" [-P]"
" [-u PORTMASK]"
" [-j FRAMESIZE]"
- " [-l]"
+ " [-l 0 | 1]"
" [-w REPLAY_WINDOW_SIZE]"
" [-e]"
" [-a]"
@@ -1277,7 +1277,8 @@ print_usage(const char *prgname)
" -u PORTMASK: Hexadecimal bitmask of unprotected ports\n"
" -j FRAMESIZE: Data buffer size, minimum (and default)\n"
" value: RTE_MBUF_DEFAULT_BUF_SIZE\n"
- " -l enables code-path that uses librte_ipsec\n"
+ " -l 0 enables code-path that uses the legacy code\n"
+ " -l 1 enables code-path that uses librte_ipsec\n"
" -w REPLAY_WINDOW_SIZE specifies IPsec SQN replay window\n"
" size for each SA\n"
" -e enables ESN\n"
@@ -1418,6 +1419,7 @@ print_app_sa_prm(const struct app_sa_prm *prm)
printf("replay window size: %u\n", prm->window_size);
printf("ESN: %s\n", (prm->enable_esn == 0) ? "disabled" : "enabled");
printf("SA flags: %#" PRIx64 "\n", prm->flags);
+ printf("Fragment Table size %u\n", frag_tbl_sz);
}
static int32_t
@@ -1431,7 +1433,7 @@ parse_args(int32_t argc, char **argv)
argvopt = argv;
- while ((opt = getopt_long(argc, argvopt, "aelp:Pu:f:j:w:",
+ while ((opt = getopt_long(argc, argvopt, "aep:Pu:f:j:w:l:",
lgopts, &option_index)) != EOF) {
switch (opt) {
@@ -1483,18 +1485,28 @@ parse_args(int32_t argc, char **argv)
printf("Custom frame buffer size %u\n", frame_buf_size);
break;
case 'l':
- app_sa_prm.enable = 1;
+ ret = parse_decimal(optarg);
+ if (ret == -1) {
+ printf("Invalid argument l %s\n", optarg);
+ print_usage(prgname);
+ return -1;
+ } else if (ret == 0)
+ app_sa_prm.enable = 0;
+ else if (ret == 1)
+ app_sa_prm.enable = 1;
+ else {
+ printf("Invalid argument l %d\n", ret);
+ print_usage(prgname);
+ return -1;
+ }
break;
case 'w':
- app_sa_prm.enable = 1;
app_sa_prm.window_size = parse_decimal(optarg);
break;
case 'e':
- app_sa_prm.enable = 1;
app_sa_prm.enable_esn = 1;
break;
case 'a':
- app_sa_prm.enable = 1;
app_sa_prm.flags |= RTE_IPSEC_SAFLAG_SQN_ATOM;
break;
case CMD_LINE_OPT_CONFIG_NUM:
@@ -1579,14 +1591,14 @@ parse_args(int32_t argc, char **argv)
return -1;
}
- /* check do we need to enable multi-seg support */
- if (multi_seg_required()) {
- /* legacy mode doesn't support multi-seg */
- app_sa_prm.enable = 1;
- printf("frame buf size: %u, mtu: %u, "
- "number of reassemble entries: %u\n"
- "multi-segment support is required\n",
- frame_buf_size, mtu_size, frag_tbl_sz);
+ if (app_sa_prm.enable == 0 &&
+ (app_sa_prm.window_size > 0 ||
+ app_sa_prm.enable_esn ||
+ app_sa_prm.flags != 0 ||
+ multi_seg_required())) {
+ printf("-w -e -a and reassembly options are not "
+ "supported in legacy mode\n");
+ return -1;
}
print_app_sa_prm(&app_sa_prm);
--
2.7.4
^ permalink raw reply [flat|nested] 7+ messages in thread
* [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts
2019-08-29 8:45 [dpdk-dev] [PATCH 0/2] Bernard Iremonger
2019-08-29 8:45 ` [dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: set default to IPsec library mode Bernard Iremonger
@ 2019-08-29 8:45 ` Bernard Iremonger
1 sibling, 0 replies; 7+ messages in thread
From: Bernard Iremonger @ 2019-08-29 8:45 UTC (permalink / raw)
To: dev, konstantin.ananyev, akhil.goyal; +Cc: Bernard Iremonger
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(-)
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts
2019-09-26 13:43 ` Ananyev, Konstantin
@ 2019-09-26 13:46 ` Iremonger, Bernard
0 siblings, 0 replies; 7+ messages in thread
From: Iremonger, Bernard @ 2019-09-26 13:46 UTC (permalink / raw)
To: Ananyev, Konstantin, dev, akhil.goyal
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts
2019-08-29 8:59 ` [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts Bernard Iremonger
@ 2019-09-26 13:43 ` Ananyev, Konstantin
2019-09-26 13:46 ` Iremonger, Bernard
0 siblings, 1 reply; 7+ messages in thread
From: Ananyev, Konstantin @ 2019-09-26 13:43 UTC (permalink / raw)
To: Iremonger, Bernard, dev, akhil.goyal
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts
2019-08-29 8:59 [dpdk-dev] [PATCH 0/2] examples/ipsec-secgw: set default Bernard Iremonger
@ 2019-08-29 8:59 ` Bernard Iremonger
2019-09-26 13:43 ` Ananyev, Konstantin
0 siblings, 1 reply; 7+ messages in thread
From: Bernard Iremonger @ 2019-08-29 8:59 UTC (permalink / raw)
To: dev, konstantin.ananyev, akhil.goyal; +Cc: Bernard Iremonger
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(-)
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts
2019-08-29 8:35 [dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: set default to IPsec library mode Bernard Iremonger
@ 2019-08-29 8:35 ` Bernard Iremonger
0 siblings, 0 replies; 7+ messages in thread
From: Bernard Iremonger @ 2019-08-29 8:35 UTC (permalink / raw)
To: dev, konstantin.ananyev, akhil.goyal; +Cc: Bernard Iremonger
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(-)
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-09-26 13:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29 8:45 [dpdk-dev] [PATCH 0/2] Bernard Iremonger
2019-08-29 8:45 ` [dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: set default to IPsec library mode Bernard Iremonger
2019-08-29 8:45 ` [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts Bernard Iremonger
-- strict thread matches above, loose matches on Subject: below --
2019-08-29 8:59 [dpdk-dev] [PATCH 0/2] examples/ipsec-secgw: set default Bernard Iremonger
2019-08-29 8:59 ` [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts Bernard Iremonger
2019-09-26 13:43 ` Ananyev, Konstantin
2019-09-26 13:46 ` Iremonger, Bernard
2019-08-29 8:35 [dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: set default to IPsec library mode Bernard Iremonger
2019-08-29 8:35 ` [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts Bernard Iremonger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).