diff mbox series

[V1,7/8] tests/ipgre: modify script and test plan to support i40e fimware > 8.3

Message ID 20221007115333.29277-7-weiyuanx.li@intel.com (mailing list archive)
State Superseded
Headers show
Series [V1,1/8] test_plans/dual_vlan: modify script and test plan to support i40e fimware > 8.3 | expand

Commit Message

Weiyuan Li Oct. 7, 2022, 11:53 a.m. UTC
Modify script and test plan to i40e support fimware > 8.3.
When the fimrware > 8.3, if the filter is to take effect need to enable
extend.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 tests/TestSuite_ipgre.py | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index cd50c1c4..1797af8a 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -312,6 +312,11 @@  class TestIpgre(TestCase):
         self.dut.send_expect("set fwd rxonly", "testpmd>")
         self.dut.send_expect("set verbose 1", "testpmd>")
         self.dut.send_expect("start", "testpmd>")
+        if self.kdriver == "i40e" and self.nic not in [
+            "I40E_10G-10G_BASE_T_X722",
+            "I40E_10G-SFP_X722",
+        ]:
+            self.dut.send_expect("vlan set extend off 0", "testpmd>")
 
         # inner ipv4
         config_layers = {