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 EDA6AA058E; Wed, 25 Mar 2020 04:04:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9CE4D2BCE; Wed, 25 Mar 2020 04:04:54 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 422E12BAE for ; Wed, 25 Mar 2020 04:04:53 +0100 (CET) IronPort-SDR: +PQ0kngTHe1oq3s9KOhm63kdTU3cbeDxFEym8Osq+XEakLqgXrkT0yKWOJIr9ILK+mcKi0RA8O MhZTfxz9gWOw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 20:04:43 -0700 IronPort-SDR: pLuDi6VrYJuJCv5tH9er2P8v8n2P10ujR7niW7baldDoROZOyaUmmgCqSEzI1JhJvgK2XKz4CM jeE28BNK/a3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,302,1580803200"; d="scan'208";a="293234803" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 24 Mar 2020 20:04:43 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 24 Mar 2020 20:04:43 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 24 Mar 2020 20:04:37 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by shsmsx102.ccr.corp.intel.com ([169.254.2.50]) with mapi id 14.03.0439.000; Wed, 25 Mar 2020 11:04:34 +0800 From: "Tu, Lijuan" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH]test_plans: add port stop before port reset Thread-Index: AQHWANuc1PvnjBfU/UGqqtzDCxOhUqhYonrA Date: Wed, 25 Mar 2020 03:04:33 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBF10B4@SHSMSX101.ccr.corp.intel.com> References: <1584944920-106111-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1584944920-106111-1-git-send-email-yuan.peng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng Yuan > Sent: Monday, March 23, 2020 2:29 PM > To: dts@dpdk.org > Cc: Peng, Yuan > Subject: [dts] [PATCH]test_plans: add port stop before port reset >=20 > Add port stop before port reset, and add port start after port reset. >=20 > Signed-off-by: Peng Yuan >=20 > 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:: >=20 > testpmd> stop > - testpmd> port reset 0 > - testpmd> port reset 1 > + testpmd> port stop all > + testpmd> port reset all > + testpmd> port start all > testpmd> start >=20 > - 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:: >=20 > testpmd> stop > + testpmd> port stop all > testpmd> port reset all > + testpmd> port start all > testpmd> start >=20 > 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 p= ackets > from tester:: >=20 > testpmd> stop > + testpmd> port stop 0 > testpmd> port reset 0 > + testpmd> port start 0 > testpmd> start > sendp([Ether(dst=3D"00:11:22:33:44:11")/IP()/Raw('x'*1000)], \ > iface=3D"ens3f0",count=3D1000) > @@ -333,7 +337,9 @@ test Case 5: vlan rx restore -- vf reset one port 4. > Reset vf1:: >=20 > testpmd> stop > + testpmd> port stop 1 > testpmd> port reset 1 > + testpmd> port start 1 > testpmd> start > sendp([Ether(dst=3D"00:11:22:33:44:11")/IP()/Raw('x'*1000)], \ > iface=3D"ens3f0",count=3D1000) > @@ -400,7 +406,9 @@ Test Case 6: vlan rx restore -- create one vf on each > pf 4. Reset both vfs, send packets from tester:: >=20 > testpmd> stop > + testpmd> port stop all > testpmd> port reset all > + testpmd> port start all > testpmd> start > sendp([Ether(dst=3D"00:11:22:33:44:11")/IP()/Raw('x'*1000)], \ > iface=3D"ens3f0",count=3D1000) > -- > 2.7.4