diff mbox series

[V1,4/9] tests/cvl_dcf_switch_filter: update case code for driver change

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

Commit Message

Jiale Song Oct. 20, 2021, 8:06 a.m. UTC
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_cvl_dcf_switch_filter.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/TestSuite_cvl_dcf_switch_filter.py b/tests/TestSuite_cvl_dcf_switch_filter.py
index a73db42..fa028a4 100755
--- a/tests/TestSuite_cvl_dcf_switch_filter.py
+++ b/tests/TestSuite_cvl_dcf_switch_filter.py
@@ -1044,7 +1044,7 @@  class CVLDCFSwitchFilterTest(TestCase):
         #get PF interface name
         self.pf0_intf = self.dut.ports_info[self.used_dut_port_0]['intf']
         out = self.dut.send_expect('ethtool -i %s' % self.pf0_intf, '#')
-        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable on'.format(self.pf0_intf), '#')
+        self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf0_intf, "# ")
         #generate 4 VFs on PF
         self.dut.generate_sriov_vfs_by_port(self.used_dut_port_0, 4, driver=driver)
         self.sriov_vfs_port_0 = self.dut.ports_info[self.used_dut_port_0]['vfs_port']
@@ -1881,5 +1881,4 @@  class CVLDCFSwitchFilterTest(TestCase):
         """
         Run after each test suite.
         """
-        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable off'.format(self.pf0_intf), '#')
         self.dut.kill_all()