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 96EEDA0525; Fri, 21 Feb 2020 08:21:55 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5054D1BFAE; Fri, 21 Feb 2020 08:21:55 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id BC8514C81 for ; Fri, 21 Feb 2020 08:21:53 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2020 23:21:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,467,1574150400"; d="scan'208";a="315980051" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 20 Feb 2020 23:21:51 -0800 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 20 Feb 2020 23:21:51 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 20 Feb 2020 23:21:51 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.196]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.158]) with mapi id 14.03.0439.000; Fri, 21 Feb 2020 15:21:49 +0800 From: "Fu, Qi" To: "Min, JiaqiX" , "dts@dpdk.org" CC: "Min, JiaqiX" Thread-Topic: [dts] [PATCH v1] test_plans/shutdown_api: modify change linkspeed Thread-Index: AQHV4lTzLg+GYGv2302eYwgtnq9gqKglSHmg Date: Fri, 21 Feb 2020 07:21:48 +0000 Message-ID: <122BE83F39B639498C1565A7B0CDA220035294A8@SHSMSX103.ccr.corp.intel.com> References: <20200213095148.21216-1-jiaqix.min@intel.com> In-Reply-To: <20200213095148.21216-1-jiaqix.min@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjgwMDE5OTQtOTFjMC00MDhiLTgzMmEtNTI1ODA4NzUzOTEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWGhwZDluMG16Uk0xKytrK3JKWkZaME5iUWVHeHNWYmxvTTBzTDhGWHBUQ0RXVzVORG5hQ0gyR0hEb1V6T1UxZiJ9 x-ctpclassification: CTP_NT 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" Acked-by: Fu, Qi Best regards, Fu, Qi -----Original Message----- From: dts 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 linkspeed fix test change linkspeed add test change linkspeed vf add testcase vf to test plan Signed-off-by: Jiaqi Min --- test_plans/shutdown_api_test_plan.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test_plans/shutdown_api_test_plan.rst b/test_plans/shutdown_ap= i_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 dri= ver. =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=20 +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=20 +with cmd:: + ./x86_64-native-linuxapp-gcc/app/testpmd -l 0-3 -n 4=20 +--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 new = 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 a= ctually changed using ethtool. +7. Run ``start`` again to restart the forwarding, then start packet genera= tor to transmit + and receive packets, and check if testpmd is able to receive and forwar= d packets + successfully. +8. Repeat this process for every compatible speed depending on the NIC dri= ver. + Test Case: Enable/Disable Jumbo Frame ------------------------------------- =20 -- 2.17.1