test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  [PATCH v1] test_plans/packet_capture_test_plan.rst
@ 2020-08-20 10:00 Yinan Wang
  2020-08-27  1:59 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Yinan Wang @ 2020-08-20 10:00 UTC (permalink / raw)
  To: dts; +Cc: Yinan Wang

Add test prerequisites in test plan

Signed-off-by: Yinan Wang <yinan.wang@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-27  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 10:00 [dts] [PATCH v1] test_plans/packet_capture_test_plan.rst Yinan Wang
2020-08-27  1:59 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).