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 E1308A0563; Mon, 23 Mar 2020 07:23:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A60EB2C6D; Mon, 23 Mar 2020 07:23:22 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0DE523B5 for ; Mon, 23 Mar 2020 07:23:20 +0100 (CET) IronPort-SDR: y9mh8v5A4iYgw5P0hD6lVCUlJDv9ILVr1MZL1FhPcZCKu7PYJ0XhuW6weeIQ+6yvR535tO89Yk +tX86OKByzGw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2020 23:23:19 -0700 IronPort-SDR: egkderUd+7Hv+WyFdC51lGBSztVZZMwbBW3B/6DfRma5AKTLR/P3GNiwt8wx4up8D9ArzgMq9i 1oMFfS8JOOhw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,295,1580803200"; d="scan'208";a="357004471" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 22 Mar 2020 23:23:18 -0700 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Mon, 23 Mar 2020 14:28:40 +0800 Message-Id: <1584944920-106111-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH]test_plans: add port stop before port reset 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 stop before port reset, and add port start after port reset. Signed-off-by: Peng Yuan diff --git a/test_plans/vf_pf_reset_test_plan.rst b/test_plans/vf_pf_reset_test_plan.rst index 51a3e3d..d433d71 100644 --- a/test_plans/vf_pf_reset_test_plan.rst +++ b/test_plans/vf_pf_reset_test_plan.rst @@ -128,11 +128,11 @@ Test Case 1: vf reset -- create two vfs on one pf 9. Reset the vfs, run the command:: testpmd> stop - testpmd> port reset 0 - testpmd> port reset 1 + testpmd> port stop all + testpmd> port reset all + testpmd> port start all testpmd> start - or just run the command "port reset all". Send the same 1000 packets with scapy from tester, verify the packets can be received by one VF and can be forward to another VF correctly, check the port info:: @@ -269,7 +269,9 @@ Test Case 4: vlan rx restore -- vf reset all ports 4. Reset both vfs:: testpmd> stop + testpmd> port stop all testpmd> port reset all + testpmd> port start all testpmd> start Send the packets in step2 from tester, @@ -313,7 +315,9 @@ test Case 5: vlan rx restore -- vf reset one port 3. Pf reset, then reset vf0, send packets from tester:: testpmd> stop + testpmd> port stop 0 testpmd> port reset 0 + testpmd> port start 0 testpmd> start sendp([Ether(dst="00:11:22:33:44:11")/IP()/Raw('x'*1000)], \ iface="ens3f0",count=1000) @@ -333,7 +337,9 @@ test Case 5: vlan rx restore -- vf reset one port 4. Reset vf1:: testpmd> stop + testpmd> port stop 1 testpmd> port reset 1 + testpmd> port start 1 testpmd> start sendp([Ether(dst="00:11:22:33:44:11")/IP()/Raw('x'*1000)], \ iface="ens3f0",count=1000) @@ -400,7 +406,9 @@ Test Case 6: vlan rx restore -- create one vf on each pf 4. Reset both vfs, send packets from tester:: testpmd> stop + testpmd> port stop all testpmd> port reset all + testpmd> port start all testpmd> start sendp([Ether(dst="00:11:22:33:44:11")/IP()/Raw('x'*1000)], \ iface="ens3f0",count=1000) -- 2.7.4