diff mbox series

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

Message ID 1634717221-221075-9-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

Checks

Context Check Description
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test fail Testing issues

Commit Message

Jiale Song Oct. 20, 2021, 8:07 a.m. UTC
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

Comments

Lijuan Tu Oct. 25, 2021, 9:09 a.m. UTC | #1
> -----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 ?
diff mbox series

Patch

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