[dts] [PATCH V1] tests/ice_qinq: optimization script
Jiale Song
songx.jiale at intel.com
Wed May 18 10:52:22 CEST 2022
recipe has maximum limit is 64 according to the datasheet.
reload the driver to delete existing recipes.
Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
tests/TestSuite_ice_qinq.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/TestSuite_ice_qinq.py b/tests/TestSuite_ice_qinq.py
index b912b5c6..0804c471 100644
--- a/tests/TestSuite_ice_qinq.py
+++ b/tests/TestSuite_ice_qinq.py
@@ -469,10 +469,14 @@ class TestICEQinq(TestCase):
self.pkt = Packet()
self.pmd_output = PmdOutput(self.dut)
+ def reload_ice(self):
+ self.dut.send_expect('rmmod ice && modprobe ice', '# ')
+
def set_up(self):
"""
Run before each test case.
"""
+ self.reload_ice()
self.pci_list = []
if self.default_stats:
self.dut.send_expect(
--
2.17.1
More information about the dts
mailing list