From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2844BA04AF; Thu, 20 Aug 2020 03:10:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E55DD1BEC3; Thu, 20 Aug 2020 03:10:23 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E0C841DB9 for ; Thu, 20 Aug 2020 03:10:22 +0200 (CEST) IronPort-SDR: ZhKs7KD0d46rNVZBSTFGMhBuXYTQdqW/EA8UBix8+ZJg6bkz4J0wtReGt3NkXuSn2mDpo2GR1/ 4Vh00bzlGvHA== X-IronPort-AV: E=McAfee;i="6000,8403,9718"; a="152824245" X-IronPort-AV: E=Sophos;i="5.76,332,1592895600"; d="scan'208";a="152824245" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2020 18:10:21 -0700 IronPort-SDR: iz5lCk9ZB3098UVZx4MDxKj0QbDLhepXOTrjx+BEFuqpx6DEraEL3+0SkPV8h4pRxk9fkbZwFj EtQpCtAHgsyA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,332,1592895600"; d="scan'208";a="497939674" Received: from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39]) by fmsmga005.fm.intel.com with ESMTP; 19 Aug 2020 18:10:20 -0700 From: Yinan Wang To: dts@dpdk.org Cc: Yinan Wang Date: Thu, 20 Aug 2020 06:00:34 -0400 Message-Id: <20200820100034.15541-1-yinan.wang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH v1] test_plans/packet_capture_test_plan.rst X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Add test prerequisites in test plan Signed-off-by: Yinan Wang --- 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