[V2,2/2] test_plans/dual_vlan: optimize dual_vlan test plan
Checks
Commit Message
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
> -----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>
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
@@ -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::