* [dts] [PATCH V1] tests/pmdrssreta:add nic twinpond
@ 2020-04-22 16:02 Mei Jianwei
2020-04-23 6:37 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Mei Jianwei @ 2020-04-22 16:02 UTC (permalink / raw)
To: dts; +Cc: Mei Jianwei
add NIC twinpond.
Signed-off-by: Mei Jianwei <jianweix.mei@intel.com>
---
| 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
index 8227961..7f77ca9 100644
--- a/tests/TestSuite_pmdrssreta.py
+++ b/tests/TestSuite_pmdrssreta.py
@@ -160,7 +160,7 @@ class TestPmdrssreta(TestCase):
hash_index = int(hash_index_tmp) % 64
elif(self.nic in ["hi1822"]):
hash_index = int(tmp_reta_line["RSS hash"], 16) % 256
- elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid", "foxville"]):
+ elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid", "foxville", "twinpond"]):
# compute the hash result of five tuple into the 7 LSBs value.
hash_index = int(tmp_reta_line["RSS hash"], 16) % 128
else:
@@ -260,7 +260,7 @@ class TestPmdrssreta(TestCase):
self.dut.send_expect("quit", "# ", 30)
def test_rss_key_size(self):
- nic_rss_key_size = {"columbiaville_25g": 52, "columbiaville_100g": 52, "fortville_eagle": 52, "fortville_spirit": 52, "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40, "e1000": 40, "redrockcanyou": 40, "atwood": 40, "boulderrapid": 40, "fortpark_TLV": 52,"fortpark_BASE-T": 52, "hi1822": 40, "cavium_a063": 48, "cavium_a064": 48, "carlsville": 52, "sagepond": 40, "sageville": 40, "foxville": 40}
+ nic_rss_key_size = {"columbiaville_25g": 52, "columbiaville_100g": 52, "fortville_eagle": 52, "fortville_spirit": 52, "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40, "e1000": 40, "redrockcanyou": 40, "atwood": 40, "boulderrapid": 40, "fortpark_TLV": 52,"fortpark_BASE-T": 52, "hi1822": 40, "cavium_a063": 48, "cavium_a064": 48, "carlsville": 52, "sagepond": 40, "sageville": 40, "foxville": 40, "twinpond": 40}
self.verify(self.nic in list(nic_rss_key_size.keys()), "Not supporte rss key on %s" % self.nic)
dutPorts = self.dut.get_ports(self.nic)
--
2.18.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] tests/pmdrssreta:add nic twinpond
2020-04-22 16:02 [dts] [PATCH V1] tests/pmdrssreta:add nic twinpond Mei Jianwei
@ 2020-04-23 6:37 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-04-23 6:37 UTC (permalink / raw)
To: Mei, JianweiX, dts; +Cc: Mei, JianweiX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Mei Jianwei
> Sent: Thursday, April 23, 2020 12:02 AM
> To: dts@dpdk.org
> Cc: Mei, JianweiX <jianweix.mei@intel.com>
> Subject: [dts] [PATCH V1] tests/pmdrssreta:add nic twinpond
>
> add NIC twinpond.
>
> Signed-off-by: Mei Jianwei <jianweix.mei@intel.com>
> ---
> tests/TestSuite_pmdrssreta.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
> index 8227961..7f77ca9 100644
> --- a/tests/TestSuite_pmdrssreta.py
> +++ b/tests/TestSuite_pmdrssreta.py
> @@ -160,7 +160,7 @@ class TestPmdrssreta(TestCase):
> hash_index = int(hash_index_tmp) % 64
> elif(self.nic in ["hi1822"]):
> hash_index = int(tmp_reta_line["RSS hash"], 16) % 256
> - elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid",
> "foxville"]):
> + elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid",
> "foxville", "twinpond"]):
> # compute the hash result of five tuple into the 7 LSBs value.
> hash_index = int(tmp_reta_line["RSS hash"], 16) % 128
> else:
> @@ -260,7 +260,7 @@ class TestPmdrssreta(TestCase):
> self.dut.send_expect("quit", "# ", 30)
>
> def test_rss_key_size(self):
> - nic_rss_key_size = {"columbiaville_25g": 52, "columbiaville_100g": 52,
> "fortville_eagle": 52, "fortville_spirit": 52, "fortville_spirit_single": 52,
> "fortville_25g": 52, "niantic": 40, "e1000": 40, "redrockcanyou": 40, "atwood":
> 40, "boulderrapid": 40, "fortpark_TLV": 52,"fortpark_BASE-T": 52, "hi1822":
> 40, "cavium_a063": 48, "cavium_a064": 48, "carlsville": 52, "sagepond": 40,
> "sageville": 40, "foxville": 40}
> + nic_rss_key_size = {"columbiaville_25g": 52,
> + "columbiaville_100g": 52, "fortville_eagle": 52, "fortville_spirit":
> + 52, "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40,
> + "e1000": 40, "redrockcanyou": 40, "atwood": 40, "boulderrapid": 40,
> + "fortpark_TLV": 52,"fortpark_BASE-T": 52, "hi1822": 40, "cavium_a063":
> + 48, "cavium_a064": 48, "carlsville": 52, "sagepond": 40, "sageville":
> + 40, "foxville": 40, "twinpond": 40}
> self.verify(self.nic in list(nic_rss_key_size.keys()), "Not supporte rss key
> on %s" % self.nic)
>
> dutPorts = self.dut.get_ports(self.nic)
> --
> 2.18.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-23 6:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 16:02 [dts] [PATCH V1] tests/pmdrssreta:add nic twinpond Mei Jianwei
2020-04-23 6:37 ` Tu, Lijuan
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).