[V1,6/9] tests/cvl_vf_support_multicast_address: update case code for driver change
Commit Message
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_cvl_vf_support_multicast_address.py | 2 ++
1 file changed, 2 insertions(+)
mode change 100644 => 100755 tests/TestSuite_cvl_vf_support_multicast_address.py
old mode 100644
new mode 100755
@@ -74,6 +74,7 @@ class TestCvlVfSupportMulticastAdress(TestCase):
# Generate 2 VFs on PF
if self.vf_flag is False:
self.dut.bind_interfaces_linux('ice')
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, "# ")
self.dut.generate_sriov_vfs_by_port(self.used_dut_port, 2)
self.sriov_vfs_port = self.dut.ports_info[self.used_dut_port]['vfs_port']
self.vf_flag = True
@@ -530,5 +531,6 @@ class TestCvlVfSupportMulticastAdress(TestCase):
"""
Run after each test suite.
"""
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, "# ")
self.dut.kill_all()
self.destroy_iavf()