From patchwork Tue Aug 11 14:49:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng, Yuan" X-Patchwork-Id: 75374 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7EC95A04C5; Tue, 11 Aug 2020 09:43:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3B6FF1C023; Tue, 11 Aug 2020 09:43:15 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id AED364C9D for ; Tue, 11 Aug 2020 09:43:13 +0200 (CEST) IronPort-SDR: /bV+dEHmSCyb8Lq+ld9snFTJ6F1+BCEyA5BrddmC1v2UYokAPjnCMbshpFhSIvsm5sYnqolqqh bSUQnRSuqr+A== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="151121523" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="151121523" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:43:12 -0700 IronPort-SDR: 73IrLeNWSm0GQLB42ozsNAAT5WWdegafAvyCiVIC7DJCyJg6ED4xEY+fIzk6Pns3X8fVy3VbYG E3oW25AQz7NA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="398455065" Received: from npg_dpdk_nic_yuanpeng_tester62.sh.intel.com ([10.67.119.61]) by fmsmga001.fm.intel.com with ESMTP; 11 Aug 2020 00:43:11 -0700 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Tue, 11 Aug 2020 14:49:14 +0000 Message-Id: <1597157354-169781-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH]test_plans: add port information change 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 port information change to flow_classify_softnic related config files. Signed-off-by: Peng Yuan diff --git a/test_plans/flow_classify_softnic_test_plan.rst b/test_plans/flow_classify_softnic_test_plan.rst index 34984e10..b18d32b6 100644 --- a/test_plans/flow_classify_softnic_test_plan.rst +++ b/test_plans/flow_classify_softnic_test_plan.rst @@ -40,7 +40,9 @@ The SoftNIC allows building custom NIC pipelines in SW. The Soft NIC pipeline is Prerequisites ============= -The DUT must have four 10G Ethernet ports connected to four ports on tester that are controlled by the Scapy packet generator:: +The DUT can have 4*10G Ethernet ports or 2*10G Ethernet ports. +We design case with 4*10G Ethernet ports. +The DUT have four 10G Ethernet ports connected to four ports on tester that are controlled by the Scapy packet generator:: dut_port_0 <---> tester_port_0 dut_port_1 <---> tester_port_1 @@ -59,6 +61,14 @@ Bind them to dpdk igb_uio driver:: ./usertools/dpdk-devbind.py -b igb_uio 05:00.0 05:00.1 05:00.2 05:00.3 Change ./drivers/net/softnic/firmware.cli to meet the specific test environment. +Change ports info to your actual ports info:: + + link LINK0 dev 0000:05:00.0 + link LINK1 dev 0000:05:00.1 + link LINK2 dev 0000:05:00.2 + link LINK3 dev 0000:05:00.3 + +Other changes are shown in each case. Start softnic with following command line::