From: Akihiko Odaki <akihiko.odaki@daynix.com>
Cc: dts@dpdk.org, Akihiko Odaki <akihiko.odaki@daynix.com>
Subject: [PATCH v2 2/3] tests/pmdrssreta: Add IGB_1G-82576
Date: Mon, 17 Apr 2023 00:25:15 +0900 [thread overview]
Message-ID: <20230416152516.132890-3-akihiko.odaki@daynix.com> (raw)
In-Reply-To: <20230416152516.132890-1-akihiko.odaki@daynix.com>
IGB_1G-82576 has 40-entry RETA and 7 effective RSS hash bits.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
| 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
--git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
index 1fd20f7a..0bc5ce01 100644
--- a/tests/TestSuite_pmdrssreta.py
+++ b/tests/TestSuite_pmdrssreta.py
@@ -155,6 +155,7 @@ class TestPmdrssreta(TestCase):
"IGC-I226_LM",
"IGC-I225_LM",
"IXGBE_10G-X540T",
+ "IGB_1G-82576",
]:
# compute the hash result of five tuple into the 7 LSBs value.
hash_index = int(tmp_reta_line["RSS hash"], 16) % 128
@@ -263,7 +264,12 @@ class TestPmdrssreta(TestCase):
"port config 0 rss reta (%d,%d)" % (i, reta_entries[i]),
"testpmd> ",
)
- elif self.nic in ["IXGBE_10G-82599_SFP", "IGC-I225_LM", "IGC-I226_LM"]:
+ elif self.nic in [
+ "IXGBE_10G-82599_SFP",
+ "IGC-I225_LM",
+ "IGC-I226_LM",
+ "IGB_1G-82576",
+ ]:
for i in range(128):
reta_entries.insert(i, random.randint(0, queue - 1))
self.dut.send_expect(
@@ -304,6 +310,7 @@ class TestPmdrssreta(TestCase):
"IGC-I225_LM": 40,
"IGC-I226_LM": 40,
"IXGBE_10G-X540T": 40,
+ "IGB_1G-82576": 40,
}
self.verify(
self.nic in list(nic_rss_key_size.keys()),
--
2.40.0
next prev parent reply other threads:[~2023-04-16 15:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-16 15:25 [PATCH v2 0/3] Changes for IGB_1G-82576 Akihiko Odaki
2023-04-16 15:25 ` [PATCH v2 1/3] conf/test_case_checklist: Add IGB_1G-82576 Akihiko Odaki
2023-04-16 15:25 ` Akihiko Odaki [this message]
2023-04-16 15:25 ` [PATCH v2 3/3] tests/uni_pkt: " Akihiko Odaki
2023-04-26 2:39 ` 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=20230416152516.132890-3-akihiko.odaki@daynix.com \
--to=akihiko.odaki@daynix.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).