From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 136861B1EA for ; Wed, 9 Jan 2019 10:18:15 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2019 01:18:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,456,1539673200"; d="scan'208";a="136655061" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 09 Jan 2019 01:18:14 -0800 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Wed, 9 Jan 2019 17:21:42 +0800 Message-Id: <1547025702-22648-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] 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, 09 Jan 2019 09:18:16 -0000 Modify the operation to up vf port for ixgbe_vf_get_extra_queue_information_test_plan.rst Signed-off-by: Peng Yuan diff --git a/test_plans/ixgbe_vf_get_extra_queue_information_test_plan.rst b/test_plans/ixgbe_vf_get_extra_queue_information_test_plan.rst index aa94df2..6ef5be0 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=4 testpmd> port config 0 dcb vt on 4 pfc off testpmd> port start 0 -2. check if VF port is linked. if vf port is down, reload the ixgbevf driver:: +2. check if VF port is linked. if vf port is down, up the port:: - rmmod ixgbevf - modprobe ixgbevf + ifconfig eth up then you can see VF information in PF side:: @@ -106,7 +105,7 @@ Test case 1: DPDK PF, kernel VF, enable DCB mode with TC=4 3. check VF's queue number:: - ethtool -S ens3 + ethtool -S eth there is 1 tx queue and 4 rx queues which equals TC number. @@ -125,7 +124,7 @@ Test case 1: DPDK PF, kernel VF, enable DCB mode with TC=4 5. check the packets with different User Priority mapping to TC:: - ethtool -S ens3 + ethtool -S eth 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 1. start the testpmd on PF:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --nb-cores=16 --rxq=2 --txq=2 + ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=2 --txq=2 --nb-cores=16 + +2. check if VF port is linked. if vf port is down, up the port:: + + ifconfig eth up -2. check if VF port is linked. if vf port is down, reload the ixgbevf driver:: + if vf port is still down, reload the ixgbevf driver:: rmmod ixgbevf modprobe ixgbevf @@ -154,7 +157,7 @@ Test case 2: DPDK PF, kernel VF, disable DCB mode 4. check VF's queue number:: - ethtool -S ens3 + ethtool -S eth there is 2 tx queues and 2 rx queues as default number. @@ -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:: - ethtool -S ens3 + ethtool -S eth 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.7.4