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

Weiyuan Li weiyuanx.li at intel.com
Thu Sep 8 07:53:48 CEST 2022


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

Signed-off-by: Weiyuan Li <weiyuanx.li at intel.com>
---

v2:
-Patch conflict modification

 test_plans/dual_vlan_test_plan.rst | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/test_plans/dual_vlan_test_plan.rst b/test_plans/dual_vlan_test_plan.rst
index 985394a2..752b5025 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,7 +249,7 @@ 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::
-- 
2.25.1



More information about the dts mailing list