[5/5] test_plans/ptype_mapping_test_plan:add print info to testpmd
Commit Message
Signed-off-by: Xie wei <weix.xie@intel.com>
---
test_plans/ptype_mapping_test_plan.rst | 4 ++++
1 file changed, 4 insertions(+)
Comments
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
@@ -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