[V1,3/9] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for driver change

Message ID 1634717221-221075-3-git-send-email-songx.jiale@intel.com (mailing list archive)
State Superseded
Headers
Series [V1,1/9] tests/cvl_dcf_flow_priority: update case code for driver change |

Commit Message

Jiale, SongX Oct. 20, 2021, 8:06 a.m. UTC
  Signed-off-by: Jiale Song <songx.jiale@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
  

Patch

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"