test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH v1]tests/TestSuite_rxtx_offload:add support nic carlsville.
@ 2020-04-13  5:14 Xu Hailin
  2020-04-20  4:56 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Xu Hailin @ 2020-04-13  5:14 UTC (permalink / raw)
  To: dts; +Cc: xuhailin

From: xuhailin <hailinx.xu@intel.com>

carlsville driver is i40e, so the nic support the suite.

Signed-off-by: xuhailin <hailinx.xu@intel.com>
---
 tests/TestSuite_rxtx_offload.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py
index 7facbf2..9049ded 100644
--- a/tests/TestSuite_rxtx_offload.py
+++ b/tests/TestSuite_rxtx_offload.py
@@ -90,7 +90,7 @@ class TestRxTx_Offload(TestCase):
         # Support i40e/ixgbe NICs
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g",
                                  "fortville_spirit_single", "fortpark_TLV",
-                                 "niantic", "twinpond", "sagepond", "sageville"], "NIC Unsupported: " + str(self.nic))
+                                 "niantic", "twinpond", "sagepond", "sageville", "carlsville"], "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)
         # Verify that enough ports are available
@@ -502,7 +502,7 @@ class TestRxTx_Offload(TestCase):
         self.dut.send_expect("set fwd txonly", "testpmd> ")
         self.dut.send_expect("set verbose 1", "testpmd> ")
         if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g",
-                         "fortville_spirit_single", "fortpark_TLV"]):
+                         "fortville_spirit_single", "fortpark_TLV", "carlsville"]):
             self.dut.send_expect("port stop 0", "testpmd> ")
             self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ")
         self.check_port_config("tx", "NULL")
@@ -657,7 +657,7 @@ class TestRxTx_Offload(TestCase):
         capabilities = self.check_port_capability("tx")
         # Disable per queue capability first, if it is FVL/Fortpark.
         if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g",
-                         "fortville_spirit_single", "fortpark_TLV"]):
+                         "fortville_spirit_single", "fortpark_TLV", "carlsville"]):
             self.dut.send_expect("port stop 0", "testpmd> ")
             self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ")
             self.dut.send_expect("port start 0", "testpmd> ")
@@ -676,7 +676,7 @@ class TestRxTx_Offload(TestCase):
         """
         # Only support i40e NICs
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g",
-                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic not support rx offload setting by queue." % self.nic)
+                                 "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%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")
         offload = ["mbuf_fast_free"]
-- 
2.17.1


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

end of thread, other threads:[~2020-04-20  4:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13  5:14 [dts] [PATCH v1]tests/TestSuite_rxtx_offload:add support nic carlsville Xu Hailin
2020-04-20  4:56 ` 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).