[dts][PATCH V1 2/2] test_plans/dual_vlan: optimize dual_vlan test plan

Weiyuan Li weiyuanx.li at intel.com
Mon Sep 5 11:42:51 CEST 2022


Add diable/enable "extend off" "strip off" in test plan.

Signed-off-by: Weiyuan Li <weiyuanx.li at intel.com>
---
 test_plans/dual_vlan_test_plan.rst | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/test_plans/dual_vlan_test_plan.rst b/test_plans/dual_vlan_test_plan.rst
index 762147f0..ebd68d0a 100644
--- a/test_plans/dual_vlan_test_plan.rst
+++ b/test_plans/dual_vlan_test_plan.rst
@@ -44,6 +44,10 @@ Enable vlan filtering on port 0::
 
     testpmd> vlan set filter on 0
 
+Disable extend on port 0::
+    
+    testpmd> vlan set extend off 0
+
 Check whether the mode is set successful::
 
     testpmd> show port info 0
@@ -103,6 +107,11 @@ Configure the traffic generator to send VLAN packets with the Tag Identifier
 Test Case: Add/Remove VLAN Tag Identifier pass VLAN filtering
 =============================================================
 
+Disable VLAN packet extend and strip port ``0``::
+
+    testpmd> vlan set extend off 0
+    testpmd> vlan set strip off 0
+
 Enable VLAN filtering on port ``0``::
 
     testpmd> vlan set filter on 0
@@ -240,12 +249,12 @@ and send 1 packet on port ``A``. Verify that the packet can been received on por
 ``B`` without VLAN Tag Identifier.
 
 
-Test Case: Configure receive port outer VLAN TPID
+Test Case: Configure receive port inner VLAN TPID
 =================================================
 
-Enable vlan header QinQ on port ``0`` firstly to support set TPID::
+Enable VLAN packet extend on port ``0``::
 
-    testpmd> vlan set qinq on 0
+    testpmd> vlan set extend on 0
 
 Check whether the mode is set successfully::
 
@@ -260,9 +269,7 @@ Check whether the mode is set successfully::
     Allmulticast mode: disabled
     Maximum number of MAC addresses: 127
     VLAN offload:
-      strip off
-      filter off
-      qinq(extend) on
+      strip off, filter off, extend on, qinq strip off
 
 Set Tag Protocol ID ``0x1234`` on port ``0``.
 Nic only support inner model, except Intel® Ethernet 700 Series::
-- 
2.27.0



More information about the dts mailing list