test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/ice_qinq: optimization script
@ 2022-05-19  1:58 Jiale Song
  0 siblings, 0 replies; 3+ messages in thread
From: Jiale Song @ 2022-05-19  1:58 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

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(+)

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dts] [PATCH V1] tests/ice_qinq: optimization script
  2022-05-18  8:52 Jiale Song
@ 2022-05-18 14:11 ` lijuan.tu
  0 siblings, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-05-18 14:11 UTC (permalink / raw)
  To: dts, Jiale Song; +Cc: Jiale Song

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dts] [PATCH V1] tests/ice_qinq: optimization script
@ 2022-05-18  8:52 Jiale Song
  2022-05-18 14:11 ` lijuan.tu
  0 siblings, 1 reply; 3+ messages in thread
From: Jiale Song @ 2022-05-18  8:52 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

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(+)

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-19  1:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19  1:58 [dts] [PATCH V1] tests/ice_qinq: optimization script Jiale Song
  -- strict thread matches above, loose matches on Subject: below --
2022-05-18  8:52 Jiale Song
2022-05-18 14:11 ` lijuan.tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).