test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic
  2019-07-01  3:23 [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic yaobing
@ 2019-07-01  3:19 ` Li, WenjieX A
  2019-07-03  6:00 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Li, WenjieX A @ 2019-07-01  3:19 UTC (permalink / raw)
  To: Yao, BingX Y, dts; +Cc: Yao, BingX Y, Li, WenjieX A

Tested-by: Li, WenjieX A <wenjiex.a.li@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing
> Sent: Monday, July 1, 2019 11:23 AM
> To: dts@dpdk.org
> Cc: Yao, BingX Y <bingx.y.yao@intel.com>
> Subject: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic
> 
> add fortville_25g nic to support
> 
> Signed-off-by: yaobing <bingx.y.yao@intel.com>
> ---
>  tests/TestSuite_rxtx_offload.py | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py
> index 0ae83f4..bcef69d 100644
> --- a/tests/TestSuite_rxtx_offload.py
> +++ b/tests/TestSuite_rxtx_offload.py
> @@ -87,7 +87,7 @@ class TestRxTx_Offload(TestCase):
>          Run at the start of each test suite.
>          New rx tx offload API Prerequisites
>          """
> -        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> +        self.verify(self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                                   "fortville_spirit_single", "niantic"], "NIC Unsupported: " +
> str(self.nic))
>          # Based on h/w type, choose how many ports to use
>          self.dut_ports = self.dut.get_ports(self.nic) @@ -424,7 +424,7 @@ class
> TestRxTx_Offload(TestCase):
>          self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-
> topology=loop")
>          self.dut.send_expect("set fwd txonly", "testpmd> ")
>          self.dut.send_expect("set verbose 1", "testpmd> ")
> -        if (self.nic in ["fortville_eagle", "fortville_spirit",
> +        if (self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                           "fortville_spirit_single"]):
>              self.dut.send_expect("port stop 0", "testpmd> ")
>              self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ") @@ -465,7 +465,7 @@ class TestRxTx_Offload(TestCase):
>          self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-
> topology=loop --tx-offloads=0x0001")
>          self.dut.send_expect("set fwd txonly", "testpmd> ")
>          self.dut.send_expect("set verbose 1", "testpmd> ")
> -        if (self.nic in ["fortville_eagle", "fortville_spirit",
> +        if (self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                           "fortville_spirit_single", "fortpark_TLV"]):
>              self.dut.send_expect("port stop 0", "testpmd> ")
>              self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ") @@ -532,7 +532,7 @@ class TestRxTx_Offload(TestCase):
>          self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4")
>          capabilities = self.check_port_capability("tx")
>          # Disable per queue capability first, if it is FVL.
> -        if (self.nic in ["fortville_eagle", "fortville_spirit",
> +        if (self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                           "fortville_spirit_single", "fortpark_TLV"]):
>              self.dut.send_expect("port stop 0", "testpmd> ")
>              self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ") @@ -551,7 +551,7 @@ class TestRxTx_Offload(TestCase):
>          Set Rx offload by queue.
>          """
>          # Only support FVL
> -        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> +        self.verify(self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                                   "fortville_spirit_single",], "%s nic not support rx offload
> setting by queue." % self.nic)
>          # Check offload configuration by port and by queue.
>          self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4")
> --
> 2.17.2


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

* [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic
@ 2019-07-01  3:23 yaobing
  2019-07-01  3:19 ` Li, WenjieX A
  2019-07-03  6:00 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: yaobing @ 2019-07-01  3:23 UTC (permalink / raw)
  To: dts; +Cc: yaobing

add fortville_25g nic to support

Signed-off-by: yaobing <bingx.y.yao@intel.com>
---
 tests/TestSuite_rxtx_offload.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py
index 0ae83f4..bcef69d 100644
--- a/tests/TestSuite_rxtx_offload.py
+++ b/tests/TestSuite_rxtx_offload.py
@@ -87,7 +87,7 @@ class TestRxTx_Offload(TestCase):
         Run at the start of each test suite.
         New rx tx offload API Prerequisites
         """
-        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
+        self.verify(self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g",
                                  "fortville_spirit_single", "niantic"], "NIC Unsupported: " + str(self.nic))
         # Based on h/w type, choose how many ports to use
         self.dut_ports = self.dut.get_ports(self.nic)
@@ -424,7 +424,7 @@ class TestRxTx_Offload(TestCase):
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=loop")
         self.dut.send_expect("set fwd txonly", "testpmd> ")
         self.dut.send_expect("set verbose 1", "testpmd> ")
-        if (self.nic in ["fortville_eagle", "fortville_spirit",
+        if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g",
                          "fortville_spirit_single"]):
             self.dut.send_expect("port stop 0", "testpmd> ")
             self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ")
@@ -465,7 +465,7 @@ class TestRxTx_Offload(TestCase):
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=loop --tx-offloads=0x0001")
         self.dut.send_expect("set fwd txonly", "testpmd> ")
         self.dut.send_expect("set verbose 1", "testpmd> ")
-        if (self.nic in ["fortville_eagle", "fortville_spirit",
+        if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g",
                          "fortville_spirit_single", "fortpark_TLV"]):
             self.dut.send_expect("port stop 0", "testpmd> ")
             self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ")
@@ -532,7 +532,7 @@ class TestRxTx_Offload(TestCase):
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4")
         capabilities = self.check_port_capability("tx")
         # Disable per queue capability first, if it is FVL.
-        if (self.nic in ["fortville_eagle", "fortville_spirit",
+        if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g",
                          "fortville_spirit_single", "fortpark_TLV"]):
             self.dut.send_expect("port stop 0", "testpmd> ")
             self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ")
@@ -551,7 +551,7 @@ class TestRxTx_Offload(TestCase):
         Set Rx offload by queue.
         """
         # Only support FVL
-        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
+        self.verify(self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g",
                                  "fortville_spirit_single",], "%s nic not support rx offload setting by queue." % self.nic)
         # Check offload configuration by port and by queue.
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4")
-- 
2.17.2


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

* Re: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic
  2019-07-01  3:23 [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic yaobing
  2019-07-01  3:19 ` Li, WenjieX A
@ 2019-07-03  6:00 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-07-03  6:00 UTC (permalink / raw)
  To: Yao, BingX Y, dts; +Cc: Yao, BingX Y

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing
> Sent: Monday, July 1, 2019 11:23 AM
> To: dts@dpdk.org
> Cc: Yao, BingX Y <bingx.y.yao@intel.com>
> Subject: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic
> 
> add fortville_25g nic to support
> 
> Signed-off-by: yaobing <bingx.y.yao@intel.com>
> ---
>  tests/TestSuite_rxtx_offload.py | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py
> index 0ae83f4..bcef69d 100644
> --- a/tests/TestSuite_rxtx_offload.py
> +++ b/tests/TestSuite_rxtx_offload.py
> @@ -87,7 +87,7 @@ class TestRxTx_Offload(TestCase):
>          Run at the start of each test suite.
>          New rx tx offload API Prerequisites
>          """
> -        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> +        self.verify(self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                                   "fortville_spirit_single", "niantic"], "NIC Unsupported: "
> + str(self.nic))
>          # Based on h/w type, choose how many ports to use
>          self.dut_ports = self.dut.get_ports(self.nic) @@ -424,7 +424,7 @@ class
> TestRxTx_Offload(TestCase):
>          self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-
> topology=loop")
>          self.dut.send_expect("set fwd txonly", "testpmd> ")
>          self.dut.send_expect("set verbose 1", "testpmd> ")
> -        if (self.nic in ["fortville_eagle", "fortville_spirit",
> +        if (self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                           "fortville_spirit_single"]):
>              self.dut.send_expect("port stop 0", "testpmd> ")
>              self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ") @@ -465,7 +465,7 @@ class TestRxTx_Offload(TestCase):
>          self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-
> topology=loop --tx-offloads=0x0001")
>          self.dut.send_expect("set fwd txonly", "testpmd> ")
>          self.dut.send_expect("set verbose 1", "testpmd> ")
> -        if (self.nic in ["fortville_eagle", "fortville_spirit",
> +        if (self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                           "fortville_spirit_single", "fortpark_TLV"]):
>              self.dut.send_expect("port stop 0", "testpmd> ")
>              self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ") @@ -532,7 +532,7 @@ class TestRxTx_Offload(TestCase):
>          self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4")
>          capabilities = self.check_port_capability("tx")
>          # Disable per queue capability first, if it is FVL.
> -        if (self.nic in ["fortville_eagle", "fortville_spirit",
> +        if (self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                           "fortville_spirit_single", "fortpark_TLV"]):
>              self.dut.send_expect("port stop 0", "testpmd> ")
>              self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ") @@ -551,7 +551,7 @@ class TestRxTx_Offload(TestCase):
>          Set Rx offload by queue.
>          """
>          # Only support FVL
> -        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> +        self.verify(self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
>                                   "fortville_spirit_single",], "%s nic not support rx offload
> setting by queue." % self.nic)
>          # Check offload configuration by port and by queue.
>          self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4")
> --
> 2.17.2


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

end of thread, other threads:[~2019-07-03  6:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-01  3:23 [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic yaobing
2019-07-01  3:19 ` Li, WenjieX A
2019-07-03  6:00 ` 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).