diff mbox series

[V1,6/9] tests/cvl_vf_support_multicast_address: update case code for driver change

Message ID 1634717221-221075-6-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_vf_support_multicast_address.py | 2 ++
 1 file changed, 2 insertions(+)
 mode change 100644 => 100755 tests/TestSuite_cvl_vf_support_multicast_address.py
diff mbox series

Patch

diff --git a/tests/TestSuite_cvl_vf_support_multicast_address.py b/tests/TestSuite_cvl_vf_support_multicast_address.py
old mode 100644
new mode 100755
index dd241a8..169a7de
--- a/tests/TestSuite_cvl_vf_support_multicast_address.py
+++ b/tests/TestSuite_cvl_vf_support_multicast_address.py
@@ -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()