[dts] [PATCH V1 5/9] tests/cvl_dcf_switch_filter_pppoe: update case code for driver change

Jiale Song songx.jiale at intel.com
Wed Oct 20 10:06:57 CEST 2021


Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 tests/TestSuite_cvl_dcf_switch_filter_pppoe.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 mode change 100644 => 100755 tests/TestSuite_cvl_dcf_switch_filter_pppoe.py

diff --git a/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py b/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py
old mode 100644
new mode 100755
index c51d14b..797251b
--- a/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py
+++ b/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py
@@ -540,7 +540,7 @@ class CVLDCFSwitchFilterPPPOETest(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']
@@ -916,5 +916,4 @@ class CVLDCFSwitchFilterPPPOETest(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()
-- 
2.17.1



More information about the dts mailing list