Message ID | 20220518085222.1775732-1-songx.jiale@intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [V1] tests/ice_qinq: optimization script | expand |
Context | Check | Description |
---|---|---|
ci/Intel-dts-suite-test | warning | SKIPPED |
On Wed, 18 May 2022 16:52:22 +0800, Jiale Song <songx.jiale@intel.com> wrote: > recipe has maximum limit is 64 according to the datasheet. > reload the driver to delete existing recipes. > > Signed-off-by: Jiale Song <songx.jiale@intel.com> Applied, thanks
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(
recipe has maximum limit is 64 according to the datasheet. reload the driver to delete existing recipes. Signed-off-by: Jiale Song <songx.jiale@intel.com> --- tests/TestSuite_ice_qinq.py | 4 ++++ 1 file changed, 4 insertions(+)