[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
Series [V1,1/9] tests/cvl_dcf_flow_priority: update case code for driver change |

Checks

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

Commit Message

Jiale, SongX 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

Tu, Lijuan 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 ?
  

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