[dts][PATCH V3 7/8] test_plans/vlan: modify script and test plan to support i40e fimware >= 8.4
Weiyuan Li
weiyuanx.li at intel.com
Mon Nov 21 09:05:08 CET 2022
Modify script and test plan to i40e support fimware >= 8.4.
When the fimrware >= 8.4, if the filter is to take effect need to enable
extend.
Signed-off-by: Weiyuan Li <weiyuanx.li at intel.com>
---
Tested-by: Song Jiale <songx.jiale at intel.com>
v2:
-use the firmware version to judge whether to add command `extend on`.
v3:
-modify description.
test_plans/vlan_test_plan.rst | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/test_plans/vlan_test_plan.rst b/test_plans/vlan_test_plan.rst
index 6e2bf74e..a192ca60 100644
--- a/test_plans/vlan_test_plan.rst
+++ b/test_plans/vlan_test_plan.rst
@@ -61,6 +61,10 @@ Enable the receipt of VLAN packets with VLAN Tag Identifier 1 on port 0::
testpmd> rx_vlan add 1 0
testpmd> vlan set strip off 0
+
+ if the i40e firmware version >= 8.4 the dpdk can only add 'extend on' to make the VLAN filter work normally:
+ testpmd> vlan set extend on 0
+
testpmd> start
rxonly packet forwarding - CRC stripping disabled - packets/burst=32
nb forwarding cores=1 - nb forwarding ports=10
@@ -111,7 +115,10 @@ Test Case: Disable receipt of VLAN packets
Disable the receipt of VLAN packets with Tag Identifier ``1`` on port 0.
Send VLAN packets with the Tag Identifier ``1`` check that no packet is received
on port ``B``, meaning that VLAN packets are now dropped on port 0::
-
+
+ if the i40e firmware version >= 8.4 the dpdk can only add 'extend on' to make the VLAN filter work normally:
+ testpmd> vlan set extend on 0
+
testpmd> rx_vlan rm 1 0
testpmd> start
rxonly packet forwarding - CRC stripping disabled - packets/burst=32
--
2.27.0
More information about the dts
mailing list