[dts] [PATCH V1 3/9] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for driver change
Jiale Song
songx.jiale at intel.com
Wed Oct 20 10:06:55 CEST 2021
Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
.../TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
mode change 100644 => 100755 tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
diff --git a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
old mode 100644
new mode 100755
index f7236ee..43614fa
--- a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
@@ -856,7 +856,7 @@ class Cvl_advance_iavf_rss_vlan_ah_l2tp_pfcp(TestCase):
def create_iavf(self):
if self.vf_flag is False:
self.dut.bind_interfaces_linux('ice')
- self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-prune-disable on" % self.pf_interface, "# ")
+ self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-pruning off" % self.pf_interface, "# ")
self.dut.generate_sriov_vfs_by_port(self.used_dut_port, 1)
self.sriov_vfs_port = self.dut.ports_info[self.used_dut_port]['vfs_port']
self.vf_flag = True
@@ -891,7 +891,7 @@ class Cvl_advance_iavf_rss_vlan_ah_l2tp_pfcp(TestCase):
"""
self.dut.kill_all()
self.destroy_iavf()
- self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-prune-disable off" % self.pf_interface, "# ")
+ self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-pruning on" % self.pf_interface, "# ")
def launch_testpmd(self, symmetric=False):
param = "--rxq=16 --txq=16"
--
2.17.1
More information about the dts
mailing list