[dts] [PATCH v1] test_plans/packet_capture_test_plan.rst

Yinan Wang yinan.wang at intel.com
Thu Aug 20 12:00:34 CEST 2020


Add test prerequisites in test plan

Signed-off-by: Yinan Wang <yinan.wang at intel.com>
---
 test_plans/packet_capture_test_plan.rst | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/test_plans/packet_capture_test_plan.rst b/test_plans/packet_capture_test_plan.rst
index 05629d0..2f38b60 100644
--- a/test_plans/packet_capture_test_plan.rst
+++ b/test_plans/packet_capture_test_plan.rst
@@ -59,8 +59,8 @@ DPDK technical doc refer to::
 
    dpdk/doc/guides/tools/pdump.rst
 
-Prerequisites
-=============
+Test configuration
+==================
 
 2x NICs (2 full duplex ports per NIC) plugged into the available slots on a
 platform, another two nic ports are linked with cables.
@@ -83,6 +83,20 @@ note: portB0/portB1 are the binded ports.
       portB2/portB3 keep link up status and don't bind to dpdk driver.
       Except portB0/portB1, DUT should have other two ports on link up status
 
+Prerequisites
+=============
+
+Enable pcap lib in dpdk code and recompile::
+
+    --- a/config/common_base
+    +++ b/config/common_base
+    @@ -492,7 +492,7 @@ CONFIG_RTE_LIBRTE_PMD_NULL=y
+     #
+     # Compile software PMD backed by PCAP files
+     #
+    -CONFIG_RTE_LIBRTE_PMD_PCAP=n
+    +CONFIG_RTE_LIBRTE_PMD_PCAP=y
+
 Test cases
 ==========
 
@@ -539,4 +553,4 @@ steps:
     pkt=rdpcap('xxxx1.pcap')
     pkt[0].show2()
     pkt=rdpcap('xxxx2.pcap')
-    pkt[0].show2()
\ No newline at end of file
+    pkt[0].show2()
-- 
2.17.1



More information about the dts mailing list