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

Lin, Xueqin xueqin.lin at intel.com
Tue Sep 1 08:22:07 CEST 2020


Acked-by: Lin Xueqin <Xueqin.lin at intel.com>

> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Xie wei
> Sent: Tuesday, September 1, 2020 10:55 AM
> To: dts at dpdk.org
> Cc: Xie, WeiX <weix.xie at 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 at 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



More information about the dts mailing list