[V1,1/9] tests/cvl_dcf_flow_priority: update case code for driver change
Commit Message
the iavf vlan priv-flags of the kernel drive of columbiaville has changed from vf-vlan-prune-disable
to vf-vlan-pruning from ice 1.7.2_3_g03d5f45f,and is closed by default,so the affected case needs to
modify the code
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
test_plans/cvl_dcf_flow_priority_test_plan.rst | 2 +-
tests/TestSuite_cvl_dcf_flow_priority.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -73,7 +73,7 @@ Prerequisites
6. Enable vlan prune flag::
- ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable on
+ ethtool --set-priv-flags ens785f0 vf-vlan-pruning off
7. Generate 4 VFs on PF0(not all the VFs are used)::
@@ -1140,7 +1140,7 @@ class CVLDCFFlowPriorityTest(TestCase):
self.used_dut_port_0 = self.dut_ports[pf_port]
#get PF interface name
self.pf0_intf = self.dut.ports_info[self.used_dut_port_0]['intf']
- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable on' % 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']