test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond
@ 2019-08-09 18:10 Wenjie Li
  2019-08-09 18:10 ` [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script Wenjie Li
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Wenjie Li @ 2019-08-09 18:10 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li

Below 2 cases could support twinpond:
pmdrssreta/pmdrss_reta
pmdrssreta/rss_key_size

Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
---
 conf/test_case_checklist.json | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
index 913039b..867d63e 100644
--- a/conf/test_case_checklist.json
+++ b/conf/test_case_checklist.json
@@ -839,8 +839,7 @@
                 "kawela_4",
                 "springville",
                 "ironpond",
-                "springfountain",
-                "twinpond"
+                "springfountain"
             ],
             "Target": [
                 "ALL"
@@ -875,8 +874,7 @@
                 "ironpond",
                 "springfountain",
                 "cavium_a034",
-                "cavium_a011",
-                "twinpond"
+                "cavium_a011"
             ],
             "Target": [
                 "ALL"
-- 
2.17.1


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

* [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script
  2019-08-09 18:10 [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond Wenjie Li
@ 2019-08-09 18:10 ` Wenjie Li
  2019-08-12  5:23   ` Wu, ChangqingX
  2019-08-12  6:55   ` Tu, Lijuan
  2019-08-12  5:23 ` [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond Wu, ChangqingX
  2019-08-12  6:55 ` Tu, Lijuan
  2 siblings, 2 replies; 6+ messages in thread
From: Wenjie Li @ 2019-08-09 18:10 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li

add twinpond/sagepond/sageville to script.

Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
---
 tests/TestSuite_pmdrssreta.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
index 9d29af8..e117157 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"]):
+            elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid", "twinpond"]):
                 # compute the hash result of five tuple into the 7 LSBs value.
                 hash_index = int(tmp_reta_line["RSS hash"], 16) % 128
             else:
@@ -243,7 +243,7 @@ class TestPmdrssreta(TestCase):
                         reta_entries.insert(i, random.randint(0, queue - 1))
                         self.dut.send_expect(
                             "port config 0 rss reta (%d,%d)" % (i, reta_entries[i]), "testpmd> ")
-                elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid"]):
+                elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid", "twinpond"]):
                     for i in range(128):
                         reta_entries.insert(i, random.randint(0, queue - 1))
                         self.dut.send_expect(
@@ -259,7 +259,7 @@ class TestPmdrssreta(TestCase):
             self.dut.send_expect("quit", "# ", 30)
 
     def test_rss_key_size(self):
-        nic_rss_key_size = {"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, "hi1822": 40, "cavium_a063": 48}
+        nic_rss_key_size = {"fortville_eagle": 52, "fortville_spirit": 52, "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40, "twinpond": 40, "sagepond": 40, "sageville": 40, "e1000": 40, "redrockcanyou": 40, "atwood": 40,  "boulderrapid": 40, "fortpark_TLV": 52, "hi1822": 40, "cavium_a063": 48}
         self.verify(self.nic in nic_rss_key_size.keys(), "Not supporte rss key on %s" % self.nic)
 
         dutPorts = self.dut.get_ports(self.nic)
-- 
2.17.1


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

* Re: [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond
  2019-08-09 18:10 [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond Wenjie Li
  2019-08-09 18:10 ` [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script Wenjie Li
@ 2019-08-12  5:23 ` Wu, ChangqingX
  2019-08-12  6:55 ` Tu, Lijuan
  2 siblings, 0 replies; 6+ messages in thread
From: Wu, ChangqingX @ 2019-08-12  5:23 UTC (permalink / raw)
  To: Li, WenjieX A, dts; +Cc: Li, WenjieX A

Tested-by: Wu, ChangqingX <changqingx.wu@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
Sent: Saturday, August 10, 2019 2:10 AM
To: dts@dpdk.org
Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
Subject: [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond

Below 2 cases could support twinpond:
pmdrssreta/pmdrss_reta
pmdrssreta/rss_key_size

Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
---
 conf/test_case_checklist.json | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json index 913039b..867d63e 100644
--- a/conf/test_case_checklist.json
+++ b/conf/test_case_checklist.json
@@ -839,8 +839,7 @@
                 "kawela_4",
                 "springville",
                 "ironpond",
-                "springfountain",
-                "twinpond"
+                "springfountain"
             ],
             "Target": [
                 "ALL"
@@ -875,8 +874,7 @@
                 "ironpond",
                 "springfountain",
                 "cavium_a034",
-                "cavium_a011",
-                "twinpond"
+                "cavium_a011"
             ],
             "Target": [
                 "ALL"
--
2.17.1


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

* Re: [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script
  2019-08-09 18:10 ` [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script Wenjie Li
@ 2019-08-12  5:23   ` Wu, ChangqingX
  2019-08-12  6:55   ` Tu, Lijuan
  1 sibling, 0 replies; 6+ messages in thread
From: Wu, ChangqingX @ 2019-08-12  5:23 UTC (permalink / raw)
  To: Li, WenjieX A, dts; +Cc: Li, WenjieX A

Tested-by: Wu, ChangqingX <changqingx.wu@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
Sent: Saturday, August 10, 2019 2:10 AM
To: dts@dpdk.org
Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
Subject: [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script

add twinpond/sagepond/sageville to script.

Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
---
 tests/TestSuite_pmdrssreta.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py index 9d29af8..e117157 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"]):
+            elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid", "twinpond"]):
                 # compute the hash result of five tuple into the 7 LSBs value.
                 hash_index = int(tmp_reta_line["RSS hash"], 16) % 128
             else:
@@ -243,7 +243,7 @@ class TestPmdrssreta(TestCase):
                         reta_entries.insert(i, random.randint(0, queue - 1))
                         self.dut.send_expect(
                             "port config 0 rss reta (%d,%d)" % (i, reta_entries[i]), "testpmd> ")
-                elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid"]):
+                elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid", "twinpond"]):
                     for i in range(128):
                         reta_entries.insert(i, random.randint(0, queue - 1))
                         self.dut.send_expect( @@ -259,7 +259,7 @@ class TestPmdrssreta(TestCase):
             self.dut.send_expect("quit", "# ", 30)
 
     def test_rss_key_size(self):
-        nic_rss_key_size = {"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, "hi1822": 40, "cavium_a063": 48}
+        nic_rss_key_size = {"fortville_eagle": 52, "fortville_spirit": 
+ 52, "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40, 
+ "twinpond": 40, "sagepond": 40, "sageville": 40, "e1000": 40, 
+ "redrockcanyou": 40, "atwood": 40,  "boulderrapid": 40, 
+ "fortpark_TLV": 52, "hi1822": 40, "cavium_a063": 48}
         self.verify(self.nic in nic_rss_key_size.keys(), "Not supporte rss key on %s" % self.nic)
 
         dutPorts = self.dut.get_ports(self.nic)
--
2.17.1


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

* Re: [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond
  2019-08-09 18:10 [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond Wenjie Li
  2019-08-09 18:10 ` [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script Wenjie Li
  2019-08-12  5:23 ` [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond Wu, ChangqingX
@ 2019-08-12  6:55 ` Tu, Lijuan
  2 siblings, 0 replies; 6+ messages in thread
From: Tu, Lijuan @ 2019-08-12  6:55 UTC (permalink / raw)
  To: Li, WenjieX A, dts; +Cc: Li, WenjieX A

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
> Sent: Saturday, August 10, 2019 2:10 AM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size
> support twinpond
> 
> Below 2 cases could support twinpond:
> pmdrssreta/pmdrss_reta
> pmdrssreta/rss_key_size
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
>  conf/test_case_checklist.json | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
> index 913039b..867d63e 100644
> --- a/conf/test_case_checklist.json
> +++ b/conf/test_case_checklist.json
> @@ -839,8 +839,7 @@
>                  "kawela_4",
>                  "springville",
>                  "ironpond",
> -                "springfountain",
> -                "twinpond"
> +                "springfountain"
>              ],
>              "Target": [
>                  "ALL"
> @@ -875,8 +874,7 @@
>                  "ironpond",
>                  "springfountain",
>                  "cavium_a034",
> -                "cavium_a011",
> -                "twinpond"
> +                "cavium_a011"
>              ],
>              "Target": [
>                  "ALL"
> --
> 2.17.1


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

* Re: [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script
  2019-08-09 18:10 ` [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script Wenjie Li
  2019-08-12  5:23   ` Wu, ChangqingX
@ 2019-08-12  6:55   ` Tu, Lijuan
  1 sibling, 0 replies; 6+ messages in thread
From: Tu, Lijuan @ 2019-08-12  6:55 UTC (permalink / raw)
  To: Li, WenjieX A, dts; +Cc: Li, WenjieX A

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
> Sent: Saturday, August 10, 2019 2:10 AM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts] [PATCH V1] tests/pmdrssreta: add
> twinpond/sagepond/sageville to script
> 
> add twinpond/sagepond/sageville to script.
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
>  tests/TestSuite_pmdrssreta.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
> index 9d29af8..e117157 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"]):
> +            elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid",
> "twinpond"]):
>                  # compute the hash result of five tuple into the 7 LSBs value.
>                  hash_index = int(tmp_reta_line["RSS hash"], 16) % 128
>              else:
> @@ -243,7 +243,7 @@ class TestPmdrssreta(TestCase):
>                          reta_entries.insert(i, random.randint(0, queue - 1))
>                          self.dut.send_expect(
>                              "port config 0 rss reta (%d,%d)" % (i, reta_entries[i]),
> "testpmd> ")
> -                elif (self.nic in ["niantic", "redrockcanyou", "atwood",
> "boulderrapid"]):
> +                elif (self.nic in ["niantic", "redrockcanyou", "atwood",
> "boulderrapid", "twinpond"]):
>                      for i in range(128):
>                          reta_entries.insert(i, random.randint(0, queue - 1))
>                          self.dut.send_expect( @@ -259,7 +259,7 @@ class
> TestPmdrssreta(TestCase):
>              self.dut.send_expect("quit", "# ", 30)
> 
>      def test_rss_key_size(self):
> -        nic_rss_key_size = {"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,
> "hi1822": 40, "cavium_a063": 48}
> +        nic_rss_key_size = {"fortville_eagle": 52, "fortville_spirit":
> + 52, "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40,
> + "twinpond": 40, "sagepond": 40, "sageville": 40, "e1000": 40,
> + "redrockcanyou": 40, "atwood": 40,  "boulderrapid": 40,
> + "fortpark_TLV": 52, "hi1822": 40, "cavium_a063": 48}
>          self.verify(self.nic in nic_rss_key_size.keys(), "Not supporte rss key
> on %s" % self.nic)
> 
>          dutPorts = self.dut.get_ports(self.nic)
> --
> 2.17.1


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

end of thread, other threads:[~2019-08-12  6:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 18:10 [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond Wenjie Li
2019-08-09 18:10 ` [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script Wenjie Li
2019-08-12  5:23   ` Wu, ChangqingX
2019-08-12  6:55   ` Tu, Lijuan
2019-08-12  5:23 ` [dts] [PATCH V1] conf/checklist: pmdrss_reta and rss_key_size support twinpond Wu, ChangqingX
2019-08-12  6:55 ` 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).