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 19C23A0525; Fri, 21 Feb 2020 08:55:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C2BD44C81; Fri, 21 Feb 2020 08:55:00 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 18A3A397D for ; Fri, 21 Feb 2020 08:54:58 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2020 23:54:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,467,1574150400"; d="scan'208";a="436872148" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 20 Feb 2020 23:54:57 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 20 Feb 2020 23:54:57 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 20 Feb 2020 23:54:56 -0800 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 20 Feb 2020 23:54:56 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.141]) with mapi id 14.03.0439.000; Fri, 21 Feb 2020 15:54:55 +0800 From: "Tu, Lijuan" To: "Min, JiaqiX" , "dts@dpdk.org" CC: "Min, JiaqiX" Thread-Topic: [dts] [PATCH v1] test_plans/shutdown_api: modify change linkspeed Thread-Index: AQHV4lTzfnHDIhF8rkqeHyZHK8FEG6glU7Qg Date: Fri, 21 Feb 2020 07:54:54 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBCCB97@SHSMSX101.ccr.corp.intel.com> References: <20200213095148.21216-1-jiaqix.min@intel.com> In-Reply-To: <20200213095148.21216-1-jiaqix.min@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 v1] test_plans/shutdown_api: modify change linkspeed 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 Jiaqi Min > Sent: Thursday, February 13, 2020 5:52 PM > To: dts@dpdk.org > Cc: Min, JiaqiX > Subject: [dts] [PATCH v1] test_plans/shutdown_api: modify change linkspee= d >=20 > fix test change linkspeed > add test change linkspeed vf > add testcase vf to test plan >=20 > Signed-off-by: Jiaqi Min > --- > test_plans/shutdown_api_test_plan.rst | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) >=20 > diff --git a/test_plans/shutdown_api_test_plan.rst > b/test_plans/shutdown_api_test_plan.rst > index 2d549e8..0968644 100644 > --- a/test_plans/shutdown_api_test_plan.rst > +++ b/test_plans/shutdown_api_test_plan.rst > @@ -144,6 +144,26 @@ Test Case: Change Link Speed > successfully. > 7. Repeat this process for every compatible speed depending on the NIC > driver. >=20 > +Test Case: Change Link Speed VF > +---------------------------- > + > +1. bind a PF to DPDK:: > + ./usertools/dpdk-devbind.py -b igb_uio 1b:00.0 2. create a VF from > +this PF:: > + echo 1 > /sys/bus/pci/devices/0000\:1b\:00.0/max_vfs > + bind a VF to DPDK:: > + ./usertools/dpdk-devbind.py -b igb_uio 1b:02.0 3. launch testpmd > +with cmd:: > + ./x86_64-native-linuxapp-gcc/app/testpmd -l 0-3 -n 4 > +--file-prefix=3Dminjq -- -i 4. Run ``port stop all`` to stop all ports. > +5. Run ``port config all speed SPEED duplex HALF/FULL`` to select the ne= w > config for the link. > +6. Run ``port start all`` to restart all ports. > + show port info all Check on the tester side that the VF configuration > actually changed using ethtool. > +7. Run ``start`` again to restart the forwarding, then start packet gene= rator > to transmit > + and receive packets, and check if testpmd is able to receive and forw= ard > packets > + successfully. > +8. Repeat this process for every compatible speed depending on the NIC > driver. > + > Test Case: Enable/Disable Jumbo Frame > ------------------------------------- >=20 > -- > 2.17.1