* [dts] [PATCH V1 8/9] tests/kernelpf_iavf: update case code for driver change
@ 2021-10-20 8:18 Jiale Song
0 siblings, 0 replies; 2+ messages in thread
From: Jiale Song @ 2021-10-20 8:18 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 6a858fc..7b3d891 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -140,6 +140,8 @@ class TestKernelpfIavf(TestCase):
# bind to default driver
self.bind_nic_driver(self.dut_ports, driver="")
self.used_dut_port = self.dut_ports[0]
+ if self.nic.startswith('columbiaville'):
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.host_intf, "# ")
self.dut.generate_sriov_vfs_by_port(
self.used_dut_port, 1, driver=driver)
self.sriov_vfs_port = self.dut.ports_info[
@@ -1036,3 +1038,5 @@ class TestKernelpfIavf(TestCase):
if self.env_done:
self.destroy_vm_env()
+ if self.nic.startswith('columbiaville'):
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.host_intf, "# ")
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: update case code for driver change
@ 2021-10-20 8:06 Jiale Song
2021-10-20 8:07 ` [dts] [PATCH V1 8/9] tests/kernelpf_iavf: " Jiale Song
0 siblings, 1 reply; 2+ messages in thread
From: Jiale Song @ 2021-10-20 8:06 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
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(-)
diff --git a/test_plans/cvl_dcf_flow_priority_test_plan.rst b/test_plans/cvl_dcf_flow_priority_test_plan.rst
index 8ae6052..a79981c 100644
--- a/test_plans/cvl_dcf_flow_priority_test_plan.rst
+++ b/test_plans/cvl_dcf_flow_priority_test_plan.rst
@@ -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)::
diff --git a/tests/TestSuite_cvl_dcf_flow_priority.py b/tests/TestSuite_cvl_dcf_flow_priority.py
index 07d99d2..853be0f 100644
--- a/tests/TestSuite_cvl_dcf_flow_priority.py
+++ b/tests/TestSuite_cvl_dcf_flow_priority.py
@@ -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']
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dts] [PATCH V1 8/9] tests/kernelpf_iavf: update case code for driver change
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: " Jiale Song
@ 2021-10-20 8:07 ` Jiale Song
0 siblings, 0 replies; 2+ messages in thread
From: Jiale Song @ 2021-10-20 8:07 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 6a858fc..7b3d891 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -140,6 +140,8 @@ class TestKernelpfIavf(TestCase):
# bind to default driver
self.bind_nic_driver(self.dut_ports, driver="")
self.used_dut_port = self.dut_ports[0]
+ if self.nic.startswith('columbiaville'):
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.host_intf, "# ")
self.dut.generate_sriov_vfs_by_port(
self.used_dut_port, 1, driver=driver)
self.sriov_vfs_port = self.dut.ports_info[
@@ -1036,3 +1038,5 @@ class TestKernelpfIavf(TestCase):
if self.env_done:
self.destroy_vm_env()
+ if self.nic.startswith('columbiaville'):
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.host_intf, "# ")
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-20 8:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 8:18 [dts] [PATCH V1 8/9] tests/kernelpf_iavf: update case code for driver change Jiale Song
-- strict thread matches above, loose matches on Subject: below --
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: " Jiale Song
2021-10-20 8:07 ` [dts] [PATCH V1 8/9] tests/kernelpf_iavf: " Jiale Song
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).