From: Weiyuan Li <weiyuanx.li@intel.com>
To: dts@dpdk.org, qi.fu@intel.com
Cc: Weiyuan Li <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1 2/2] test_plans/dual_vlan: optimize dual_vlan test plan
Date: Mon, 5 Sep 2022 17:42:51 +0800 [thread overview]
Message-ID: <20220905094251.16568-2-weiyuanx.li@intel.com> (raw)
In-Reply-To: <20220905094251.16568-1-weiyuanx.li@intel.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=a, Size: 2024 bytes --]
Add diable/enable "extend off" "strip off" in test plan.
Signed-off-by: Weiyuan Li <weiyuanx.li@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
prev parent reply other threads:[~2022-09-05 9:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-05 9:42 [dts][PATCH V1 1/2] tests/dual_vlan: optimize script and add check tpid Weiyuan Li
2022-09-05 9:42 ` Weiyuan Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220905094251.16568-2-weiyuanx.li@intel.com \
--to=weiyuanx.li@intel.com \
--cc=dts@dpdk.org \
--cc=qi.fu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).