[V1,2/2] test_plan/vf_daemon: sync add step dpdk pf set mtu.

Message ID 20220307022628.3829950-2-weiyuanx.li@intel.com (mailing list archive)
State Superseded
Headers
Series [V1,1/2] tests/vf_daemon: add step dpdk pf set mtu value. |

Commit Message

Weiyuan Li March 7, 2022, 2:26 a.m. UTC
  Sync test plan add step dpdk pf set mtu value.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 test_plans/vf_daemon_test_plan.rst | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
  

Patch

diff --git a/test_plans/vf_daemon_test_plan.rst b/test_plans/vf_daemon_test_plan.rst
index cb7fb41d..42c679ac 100644
--- a/test_plans/vf_daemon_test_plan.rst
+++ b/test_plans/vf_daemon_test_plan.rst
@@ -301,23 +301,29 @@  Test Case 9: Show/Clear stats for VF from PF
 
 Test Case 10: enhancement to identify VF MTU change
 ===================================================
-1. Set VF0 in mac forwarding mode and start testpmd
+1. Set DPDK PF mtu size is 9000.
 
-2. Default mtu size is 1500, send one packet with length bigger than default
+      testpmd> port stop all
+      testpmd> port config mtu 0 9000
+      testpmd> port start all
+
+2. Set VF0 in mac forwarding mode and start testpmd
+
+3. Default mtu size is 1500, send one packet with length bigger than default
    mtu size, such as 2000 from tester, check VF0 can receive but can't transmit
    packet
 
-3. Set VF0 mtu size as 3000, but need to stop then restart port to active mtu::
+4. Set VF0 mtu size as 3000, but need to stop then restart port to active mtu::
 
       testpmd> port stop all
       testpmd> port config mtu 0 3000
       testpmd> port start all
       testpmd> start
 
-4. Send one packet with length 2000 from tester, check VF0 can receive and
+5. Send one packet with length 2000 from tester, check VF0 can receive and
    transmit packet
 
-5. Send one packet with length bigger than configured mtu size, such as 5000
+6. Send one packet with length bigger than configured mtu size, such as 5000
    from tester, check VF0 can receive but can't transmit packet