From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 27E0F239 for ; Wed, 16 Jan 2019 06:37:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2019 21:37:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,484,1539673200"; d="scan'208";a="136175332" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 15 Jan 2019 21:37:05 -0800 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 15 Jan 2019 21:37:05 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 15 Jan 2019 21:37:05 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.196]) by shsmsx102.ccr.corp.intel.com ([169.254.2.63]) with mapi id 14.03.0415.000; Wed, 16 Jan 2019 13:37:03 +0800 From: "Tu, Lijuan" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH v2] test_plans: Modify the operation to up vf port Thread-Index: AQHUrKIWoUBPiud6z0aq4LdkGQzu8aWxYbOQ Date: Wed, 16 Jan 2019 05:37:02 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA03156@SHSMSX101.ccr.corp.intel.com> References: <1547536712-1852-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1547536712-1852-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.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWViOThlMWQtNWU5NS00M2I4LWIyNTktOGIzNTk1MTE0ZTJlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiYk43K3VYYTRSbldtR1ZRK0lOeXdnbGcya2Z5NFwvcUJ2NW1DaHdpMk9uTERremRXdWhBYW91Y2h1bmUzTlFidEkifQ== 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 v2] test_plans: Modify the operation to up vf port 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: , X-List-Received-Date: Wed, 16 Jan 2019 05:37:07 -0000 Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng Yuan > Sent: Tuesday, January 15, 2019 3:19 PM > To: dts@dpdk.org > Cc: Peng, Yuan > Subject: [dts] [PATCH v2] test_plans: Modify the operation to up vf port >=20 > Modify the operation to up vf port of > ixgbe_vf_get_extra_queue_information_test_plan.rst >=20 > Signed-off-by: Peng Yuan >=20 > diff --git a/test_plans/ixgbe_vf_get_extra_queue_information_test_plan.rs= t > b/test_plans/ixgbe_vf_get_extra_queue_information_test_plan.rst > index aa94df2..146f04b 100644 > --- a/test_plans/ixgbe_vf_get_extra_queue_information_test_plan.rst > +++ b/test_plans/ixgbe_vf_get_extra_queue_information_test_plan.rst > @@ -94,10 +94,9 @@ Test case 1: DPDK PF, kernel VF, enable DCB mode with > TC=3D4 > testpmd> port config 0 dcb vt on 4 pfc off > testpmd> port start 0 >=20 > -2. check if VF port is linked. if vf port is down, reload the ixgbevf dr= iver:: > +2. check if VF port is linked. if vf port is down, up the port:: >=20 > - rmmod ixgbevf > - modprobe ixgbevf > + ifconfig eth0 up >=20 > then you can see VF information in PF side:: >=20 > @@ -106,7 +105,7 @@ Test case 1: DPDK PF, kernel VF, enable DCB mode with > TC=3D4 >=20 > 3. check VF's queue number:: >=20 > - ethtool -S ens3 > + ethtool -S eth0 >=20 > there is 1 tx queue and 4 rx queues which equals TC number. >=20 > @@ -125,7 +124,7 @@ Test case 1: DPDK PF, kernel VF, enable DCB mode with > TC=3D4 >=20 > 5. check the packets with different User Priority mapping to TC:: >=20 > - ethtool -S ens3 > + ethtool -S eth0 >=20 > check the NIC statistics to check the packets increasing of different= rx queue. > pkt1 to queue 0, pkt2 to queue 1, pkt3 to queue 2, pkt4 to queue 3, @= @ - > 136,9 +135,13 @@ Test case 2: DPDK PF, kernel VF, disable DCB mode >=20 > 1. start the testpmd on PF:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --nb-co= res=3D16 -- > rxq=3D2 --txq=3D2 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i > + --rxq=3D2 --txq=3D2 --nb-cores=3D16 > + > +2. check if VF port is linked. if vf port is down, up the port:: > + > + ifconfig eth0 up >=20 > -2. check if VF port is linked. if vf port is down, reload the ixgbevf dr= iver:: > + if vf port is still down, reload the ixgbevf driver:: >=20 > rmmod ixgbevf > modprobe ixgbevf > @@ -154,7 +157,7 @@ Test case 2: DPDK PF, kernel VF, disable DCB mode >=20 > 4. check VF's queue number:: >=20 > - ethtool -S ens3 > + ethtool -S eth0 >=20 > there is 2 tx queues and 2 rx queues as default number. >=20 > @@ -166,7 +169,7 @@ Test case 2: DPDK PF, kernel VF, disable DCB mode 5. > check the NIC statistics to verify the different packets mapping to > different queues according RSS rule:: >=20 > - ethtool -S ens3 > + ethtool -S eth0 >=20 > send 100 pkt1 to VF, all the packets received by queue 0, > then, send 100 pkt2 to VF, all the packets received by queue 1. > -- > 2.5.0