[dts] [PATCH v1] test_plans/shutdown_api: modify change linkspeed
Jiaqi Min
jiaqix.min at intel.com
Thu Feb 13 10:51:48 CET 2020
fix test change linkspeed
add test change linkspeed vf
add testcase vf to test plan
Signed-off-by: Jiaqi Min <jiaqix.min at intel.com>
---
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_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.
+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=minjq -- -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 actually changed using ethtool.
+7. Run ``start`` again to restart the forwarding, then start packet generator to transmit
+ and receive packets, and check if testpmd is able to receive and forward packets
+ successfully.
+8. Repeat this process for every compatible speed depending on the NIC driver.
+
Test Case: Enable/Disable Jumbo Frame
-------------------------------------
--
2.17.1
More information about the dts
mailing list