diff mbox series

[4/5] test_plans/inline_ipsec_test_plan:add print info for ipsec app

Message ID 20200901025517.9501-5-weix.xie@intel.com (mailing list archive)
State Accepted
Headers show
Series modify test plan | expand

Commit Message

Xie, WeiX Sept. 1, 2020, 2:55 a.m. UTC
Signed-off-by: Xie wei <weix.xie@intel.com>
---
 test_plans/inline_ipsec_test_plan.rst | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Comments

Lin, Xueqin Sept. 1, 2020, 6:18 a.m. UTC | #1
Acked-by: Lin Xueqin <Xueqin.lin@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Tuesday, September 1, 2020 10:55 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info for
> ipsec app
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
>  test_plans/inline_ipsec_test_plan.rst | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/test_plans/inline_ipsec_test_plan.rst
> b/test_plans/inline_ipsec_test_plan.rst
> index c37b229..3a26e18 100644
> --- a/test_plans/inline_ipsec_test_plan.rst
> +++ b/test_plans/inline_ipsec_test_plan.rst
> @@ -100,7 +100,15 @@ modprobe vfio-pci
>  This suite depend PyCryptodome,it provide authenticated encryption
> modes(GCM)  module dependences:cryptography (1.7.2), pycryptodome (3.4.7),
> pycryptodomex (3.4.7),  pycryptopp (0.6.0), scapy (2.3.3 or later)
> -
> +
> +Add print code in IPSEC app::
> +
> +    sed -i -e 's/if (nb_rx > 0)/if (nb_rx > 0) {/g' -e '/\/\* dequeue
> + and process completed crypto-ops \*\//i\\t\t\t}' -e
> + '/process_pkts(qconf, pkts, nb_rx,
> + portid);/i\\t\t\t\tprintf("[debug]receive %llu packet in
> + rxqueueid=%llu\\n",(unsigned long long)nb_rx, (unsigned long
> + long)queueid);' examples/ipsec-secgw/ipsec-secgw.c
> +
> +Re-compile examples/ipsec-secgw::
> +
> +    make -C examples/ipsec-secgw
> +
>  Test Case: Inline cfg parsing
>  =============================
>  Create inline ipsec configuration file like below::
> --
> 2.17.1
diff mbox series

Patch

diff --git a/test_plans/inline_ipsec_test_plan.rst b/test_plans/inline_ipsec_test_plan.rst
index c37b229..3a26e18 100644
--- a/test_plans/inline_ipsec_test_plan.rst
+++ b/test_plans/inline_ipsec_test_plan.rst
@@ -100,7 +100,15 @@  modprobe vfio-pci
 This suite depend PyCryptodome,it provide authenticated encryption modes(GCM)
 module dependences:cryptography (1.7.2), pycryptodome (3.4.7), pycryptodomex (3.4.7),
 pycryptopp (0.6.0), scapy (2.3.3 or later)
-	
+
+Add print code in IPSEC app::
+
+    sed -i -e 's/if (nb_rx > 0)/if (nb_rx > 0) {/g' -e '/\/\* dequeue and process completed crypto-ops \*\//i\\t\t\t}' -e '/process_pkts(qconf, pkts, nb_rx, portid);/i\\t\t\t\tprintf("[debug]receive %llu packet in rxqueueid=%llu\\n",(unsigned long long)nb_rx, (unsigned long long)queueid);' examples/ipsec-secgw/ipsec-secgw.c
+
+Re-compile examples/ipsec-secgw::
+
+    make -C examples/ipsec-secgw
+
 Test Case: Inline cfg parsing
 =============================
 Create inline ipsec configuration file like below::