From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V1] tests/ice_qinq: optimization script
Date: Thu, 19 May 2022 09:58:31 +0800 [thread overview]
Message-ID: <20220519015831.1805264-1-songx.jiale@intel.com> (raw)
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
next reply other threads:[~2022-05-19 1:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-19 1:58 Jiale Song [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-18 8:52 Jiale Song
2022-05-18 14:11 ` lijuan.tu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220519015831.1805264-1-songx.jiale@intel.com \
--to=songx.jiale@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).