* [dts] [PATCH V1 2/9] tests/cvl_qinq: update case code for driver change
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: update case code for driver change Jiale Song
@ 2021-10-20 8:06 ` Jiale Song
2021-10-20 8:06 ` [dts] [PATCH V1 3/9] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: " Jiale Song
` (6 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Jiale Song @ 2021-10-20 8:06 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
test_plans/cvl_qinq_test_plan.rst | 8 ++++----
tests/TestSuite_cvl_qinq.py | 16 ++++++++--------
2 files changed, 12 insertions(+), 12 deletions(-)
mode change 100644 => 100755 tests/TestSuite_cvl_qinq.py
diff --git a/test_plans/cvl_qinq_test_plan.rst b/test_plans/cvl_qinq_test_plan.rst
index 4f44150..e725861 100644
--- a/test_plans/cvl_qinq_test_plan.rst
+++ b/test_plans/cvl_qinq_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)::
@@ -130,7 +130,7 @@ Prerequisites
13. For AVF QinQ test cases(10-14), recreate Generate 1 VFs on PF0, reconfig the VF then launch testpmd::
echo 0 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs
- ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable off
+ ethtool --set-priv-flags ens785f0 vf-vlan-pruning on
echo 1 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs
ip link set ens785f0 vf 0 mac 00:11:22:33:44:11
ip link set dev ens785f0 vf 0 spoofchk off
@@ -908,7 +908,7 @@ Test case 09: vlan filter when pvid enable
1. reset test environment, create vfs and disable vlan prune flag::
- ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable off
+ ethtool --set-priv-flags ens785f0 vf-vlan-pruning on
2. repeat Prerequisites steps from 7 to 12
@@ -1116,7 +1116,7 @@ Test case 12: Enable/Disable IAVF VLAN header insertion
1. enable vf-vlan-prune-disable flag::
echo 0 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs
- ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable on
+ ethtool --set-priv-flags ens785f0 vf-vlan-pruning off
2. set up test environment again::
diff --git a/tests/TestSuite_cvl_qinq.py b/tests/TestSuite_cvl_qinq.py
old mode 100644
new mode 100755
index 0c950b0..01fae96
--- a/tests/TestSuite_cvl_qinq.py
+++ b/tests/TestSuite_cvl_qinq.py
@@ -253,7 +253,7 @@ class TestCvlQinq(TestCase):
Run before each test case.
'''
self.pci_list = []
- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable on' % self.pf_interface, "#")
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, "# ")
def setup_pf_vfs_env(self, vfs_num=4):
@@ -644,7 +644,7 @@ class TestCvlQinq(TestCase):
'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac]
pkt_list2 = ['Ether(dst="%s",type=0x8100)/Dot1Q(vlan=21,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac,
'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=21,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac]
- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ')
self.setup_pf_vfs_env()
self.launch_testpmd(dcf_param=True)
self.pmd_output.execute_cmd("vlan set filter on 1")
@@ -677,7 +677,7 @@ class TestCvlQinq(TestCase):
'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac]
pkt_list2 = ['Ether(dst="%s",type=0x8100)/Dot1Q(vlan=11,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac,
'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac]
- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ')
self.setup_pf_vfs_env(vfs_num=1)
self.launch_testpmd(vfs_num=1)
self.pmd_output.execute_cmd("vlan set filter on 0")
@@ -710,7 +710,7 @@ class TestCvlQinq(TestCase):
"""
pkt_list = ['Ether(dst="%s",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac,
'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac]
- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ')
self.setup_pf_vfs_env(vfs_num=1)
self.launch_testpmd(vfs_num=1)
self.pmd_output.execute_cmd("vlan set filter on 0")
@@ -744,7 +744,7 @@ class TestCvlQinq(TestCase):
out_vlan = 1
pkt_list = ['Ether(dst="%s",type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac,
'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac]
- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable on' % self.pf_interface, '#')
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, '# ')
self.setup_pf_vfs_env(vfs_num=1)
self.launch_testpmd(vfs_num=1)
self.pmd_output.execute_cmd("stop")
@@ -787,7 +787,7 @@ class TestCvlQinq(TestCase):
"""
param = '--rxq=16 --txq=16 --disable-crc-strip'
pkt = 'Ether(dst="%s",type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac
- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ')
self.setup_pf_vfs_env(vfs_num=1)
self.pmd_output.start_testpmd(cores='1S/4C/1T', param=param, ports=self.pci_list, socket=self.ports_socket)
self.pmd_output.execute_cmd("set fwd mac")
@@ -819,7 +819,7 @@ class TestCvlQinq(TestCase):
AVF CRC strip and Vlan strip co-exists
"""
pkt = 'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac
- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, "#")
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, "# ")
self.setup_pf_vfs_env(vfs_num=1)
self.launch_testpmd(vfs_num=1)
self.check_vlan_offload(vlan_type="strip", stats="off")
@@ -873,4 +873,4 @@ class TestCvlQinq(TestCase):
self.destroy_iavf()
def tear_down_all(self):
- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')
\ No newline at end of file
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, '# ')
--
2.17.1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [dts] [PATCH V1 3/9] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for driver change
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: update case code for driver change Jiale Song
2021-10-20 8:06 ` [dts] [PATCH V1 2/9] tests/cvl_qinq: " Jiale Song
@ 2021-10-20 8:06 ` Jiale Song
2021-10-20 8:06 ` [dts] [PATCH V1 4/9] tests/cvl_dcf_switch_filter: " Jiale Song
` (5 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Jiale Song @ 2021-10-20 8:06 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
| 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
mode change 100644 => 100755 tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
--git a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
old mode 100644
new mode 100755
index f7236ee..43614fa
--- a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
@@ -856,7 +856,7 @@ class Cvl_advance_iavf_rss_vlan_ah_l2tp_pfcp(TestCase):
def create_iavf(self):
if self.vf_flag is False:
self.dut.bind_interfaces_linux('ice')
- self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-prune-disable on" % self.pf_interface, "# ")
+ self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-pruning off" % self.pf_interface, "# ")
self.dut.generate_sriov_vfs_by_port(self.used_dut_port, 1)
self.sriov_vfs_port = self.dut.ports_info[self.used_dut_port]['vfs_port']
self.vf_flag = True
@@ -891,7 +891,7 @@ class Cvl_advance_iavf_rss_vlan_ah_l2tp_pfcp(TestCase):
"""
self.dut.kill_all()
self.destroy_iavf()
- self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-prune-disable off" % self.pf_interface, "# ")
+ self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-pruning on" % self.pf_interface, "# ")
def launch_testpmd(self, symmetric=False):
param = "--rxq=16 --txq=16"
--
2.17.1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [dts] [PATCH V1 4/9] tests/cvl_dcf_switch_filter: update case code for driver change
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: update case code for driver change Jiale Song
2021-10-20 8:06 ` [dts] [PATCH V1 2/9] tests/cvl_qinq: " Jiale Song
2021-10-20 8:06 ` [dts] [PATCH V1 3/9] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: " Jiale Song
@ 2021-10-20 8:06 ` Jiale Song
2021-10-20 8:06 ` [dts] [PATCH V1 5/9] tests/cvl_dcf_switch_filter_pppoe: " Jiale Song
` (4 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Jiale Song @ 2021-10-20 8:06 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_cvl_dcf_switch_filter.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/TestSuite_cvl_dcf_switch_filter.py b/tests/TestSuite_cvl_dcf_switch_filter.py
index a73db42..fa028a4 100755
--- a/tests/TestSuite_cvl_dcf_switch_filter.py
+++ b/tests/TestSuite_cvl_dcf_switch_filter.py
@@ -1044,7 +1044,7 @@ class CVLDCFSwitchFilterTest(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']
@@ -1881,5 +1881,4 @@ class CVLDCFSwitchFilterTest(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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [dts] [PATCH V1 5/9] tests/cvl_dcf_switch_filter_pppoe: update case code for driver change
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: update case code for driver change Jiale Song
` (2 preceding siblings ...)
2021-10-20 8:06 ` [dts] [PATCH V1 4/9] tests/cvl_dcf_switch_filter: " Jiale Song
@ 2021-10-20 8:06 ` Jiale Song
2021-10-20 8:06 ` [dts] [PATCH V1 6/9] tests/cvl_vf_support_multicast_address: " Jiale Song
` (3 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Jiale Song @ 2021-10-20 8:06 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [dts] [PATCH V1 6/9] tests/cvl_vf_support_multicast_address: update case code for driver change
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: update case code for driver change Jiale Song
` (3 preceding siblings ...)
2021-10-20 8:06 ` [dts] [PATCH V1 5/9] tests/cvl_dcf_switch_filter_pppoe: " Jiale Song
@ 2021-10-20 8:06 ` Jiale Song
2021-10-20 8:06 ` [dts] [PATCH V1 7/9] tests/iavf_flexible_descriptor: " Jiale Song
` (2 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Jiale Song @ 2021-10-20 8:06 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
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 --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()
--
2.17.1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [dts] [PATCH V1 7/9] tests/iavf_flexible_descriptor: update case code for driver change
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: update case code for driver change Jiale Song
` (4 preceding siblings ...)
2021-10-20 8:06 ` [dts] [PATCH V1 6/9] tests/cvl_vf_support_multicast_address: " Jiale Song
@ 2021-10-20 8:06 ` Jiale Song
2021-10-20 8:07 ` [dts] [PATCH V1 8/9] tests/kernelpf_iavf: " Jiale Song
2021-10-20 8:07 ` [dts] [PATCH V1 9/9] tests/l2tp_esp_coverage: " Jiale Song
7 siblings, 0 replies; 11+ messages in thread
From: Jiale Song @ 2021-10-20 8:06 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_iavf_flexible_descriptor.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
mode change 100644 => 100755 tests/TestSuite_iavf_flexible_descriptor.py
diff --git a/tests/TestSuite_iavf_flexible_descriptor.py b/tests/TestSuite_iavf_flexible_descriptor.py
old mode 100644
new mode 100755
index e5cd9b3..2d19134
--- a/tests/TestSuite_iavf_flexible_descriptor.py
+++ b/tests/TestSuite_iavf_flexible_descriptor.py
@@ -81,7 +81,7 @@ class TestIavfFlexibleDescriptor(TestCase, FlexibleRxdBase):
# set vf assign method and vf driver
vf_driver = 'vfio-pci'
self.pf0_intf = self.dut.ports_info[self.dut_ports[dut_index]]['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 {} vf-vlan-pruning off'.format(self.pf0_intf),'# ')
# generate 2 VFs on PF
self.dut.generate_sriov_vfs_by_port(
used_dut_port, 1, driver=self.kdriver)
@@ -118,7 +118,6 @@ class TestIavfFlexibleDescriptor(TestCase, FlexibleRxdBase):
"""
self.destroy_vf()
self.restore_compilation()
- self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable off'.format(self.pf0_intf), '#')
def set_up(self):
"""
--
2.17.1
^ permalink raw reply [flat|nested] 11+ 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: update case code for driver change Jiale Song
` (5 preceding siblings ...)
2021-10-20 8:06 ` [dts] [PATCH V1 7/9] tests/iavf_flexible_descriptor: " Jiale Song
@ 2021-10-20 8:07 ` Jiale Song
2021-10-20 8:07 ` [dts] [PATCH V1 9/9] tests/l2tp_esp_coverage: " Jiale Song
7 siblings, 0 replies; 11+ 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] 11+ messages in thread
* [dts] [PATCH V1 9/9] tests/l2tp_esp_coverage: update case code for driver change
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: update case code for driver change Jiale Song
` (6 preceding siblings ...)
2021-10-20 8:07 ` [dts] [PATCH V1 8/9] tests/kernelpf_iavf: " Jiale Song
@ 2021-10-20 8:07 ` Jiale Song
2021-10-25 9:09 ` Tu, Lijuan
7 siblings, 1 reply; 11+ 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_l2tp_esp_coverage.py | 2 ++
1 file changed, 2 insertions(+)
mode change 100644 => 100755 tests/TestSuite_l2tp_esp_coverage.py
diff --git a/tests/TestSuite_l2tp_esp_coverage.py b/tests/TestSuite_l2tp_esp_coverage.py
old mode 100644
new mode 100755
index 10520c8..50e0454
--- a/tests/TestSuite_l2tp_esp_coverage.py
+++ b/tests/TestSuite_l2tp_esp_coverage.py
@@ -117,6 +117,7 @@ class L2tpEspCoverage(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()
@@ -124,6 +125,7 @@ class L2tpEspCoverage(TestCase):
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, 1)
self.sriov_vfs_port = self.dut.ports_info[self.used_dut_port]['vfs_port']
self.vf_flag = True
--
2.17.1
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [dts] [PATCH V1 9/9] tests/l2tp_esp_coverage: update case code for driver change
2021-10-20 8:07 ` [dts] [PATCH V1 9/9] tests/l2tp_esp_coverage: " Jiale Song
@ 2021-10-25 9:09 ` Tu, Lijuan
0 siblings, 0 replies; 11+ messages in thread
From: Tu, Lijuan @ 2021-10-25 9:09 UTC (permalink / raw)
To: Jiale, SongX, dts; +Cc: Jiale, SongX
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Jiale Song
> Sent: 2021年10月20日 16:07
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V1 9/9] tests/l2tp_esp_coverage: update case code for
> driver change
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Could you please provide more details about the reason ?
^ permalink raw reply [flat|nested] 11+ messages in thread