[V2,2/2] test_plans/dual_vlan: optimize dual_vlan test plan

Message ID 20220908055348.32751-2-weiyuanx.li@intel.com (mailing list archive)
State Accepted
Headers
Series [V2,1/2] tests/dual_vlan: optimize script case vlan_tpid_config add check tpid |

Checks

Context Check Description
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test fail Testing issues

Commit Message

Weiyuan Li Sept. 8, 2022, 5:53 a.m. UTC
  Add diable/enable "extend off" "strip off" in test plan.

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

v2:
-Patch conflict modification

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

Comments

Fu, Qi Sept. 20, 2022, 7:42 a.m. UTC | #1
> -----Original Message-----
> From: Weiyuan Li <weiyuanx.li@intel.com>
> Sent: Thursday, September 8, 2022 1:54 PM
> To: dts@dpdk.org
> Cc: Li, WeiyuanX <weiyuanx.li@intel.com>
> Subject: [dts][PATCH V2 2/2] test_plans/dual_vlan: optimize dual_vlan test plan
> 
> Add diable/enable "extend off" "strip off" in test plan.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
> ---
> 
> v2:
> -Patch conflict modification
> 
>  test_plans/dual_vlan_test_plan.rst | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
Acked-by: Fu, Qi <qi.fu@intel.com>
  
Tu, Lijuan Sept. 20, 2022, 8:08 a.m. UTC | #2
On Thu,  8 Sep 2022 13:53:48 +0800, Weiyuan Li <weiyuanx.li@intel.com> wrote:
> Add diable/enable "extend off" "strip off" in test plan.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
  

Patch

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::