diff mbox series

[5/5] test_plans/ptype_mapping_test_plan:add print info to testpmd

Message ID 20200901025517.9501-6-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/ptype_mapping_test_plan.rst | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Lin, Xueqin Sept. 1, 2020, 6:22 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 5/5] test_plans/ptype_mapping_test_plan:add print info to
> testpmd
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
>  test_plans/ptype_mapping_test_plan.rst | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/test_plans/ptype_mapping_test_plan.rst
> b/test_plans/ptype_mapping_test_plan.rst
> index 04ea481..d157b67 100644
> --- a/test_plans/ptype_mapping_test_plan.rst
> +++ b/test_plans/ptype_mapping_test_plan.rst
> @@ -55,6 +55,10 @@ user applications.
> 
>  Prerequisites
>  =============
> +Add print info to testpmd for case::
> +
> +    sed -i -e '/printf(\" - VLAN tci=0x%x\", mb->vlan_tci);/a\\\\t\\tprintf(\" -
> pktype: 0x%x\", mb->packet_type);' app/test-pmd/util.c
> +
>  Start testpmd, enable rxonly and verbose mode::
> 
>          ./testpmd -c f -n 4 -- -i --port-topology=chained
> --
> 2.17.1
diff mbox series

Patch

diff --git a/test_plans/ptype_mapping_test_plan.rst b/test_plans/ptype_mapping_test_plan.rst
index 04ea481..d157b67 100644
--- a/test_plans/ptype_mapping_test_plan.rst
+++ b/test_plans/ptype_mapping_test_plan.rst
@@ -55,6 +55,10 @@  user applications.
 
 Prerequisites
 =============
+Add print info to testpmd for case::
+
+    sed -i -e '/printf(\" - VLAN tci=0x%x\", mb->vlan_tci);/a\\\\t\\tprintf(\" - pktype: 0x%x\", mb->packet_type);' app/test-pmd/util.c
+
 Start testpmd, enable rxonly and verbose mode::
 
         ./testpmd -c f -n 4 -- -i --port-topology=chained