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

Xie wei weix.xie at intel.com
Tue Sep 1 04:55:17 CEST 2020


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