[dts] [PATCH v2] tests/TestSuite_rxtx_offload:add nic carlsville.
Tu, Lijuan
lijuan.tu at intel.com
Thu Apr 23 07:42:41 CEST 2020
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xu, Hailin
> Sent: Tuesday, April 21, 2020 4:49 PM
> To: dts at dpdk.org
> Cc: Xu, HailinX <hailinx.xu at intel.com>
> Subject: [dts] [PATCH v2] tests/TestSuite_rxtx_offload:add nic carlsville.
>
> From: "xu,hailin" <hailinx.xu at intel.com>
>
> carlsville driver is i40e, so the nic support the suite.
>
> Signed-off-by: xu,hailin <hailinx.xu at 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 f387995..dcd1212 100644
> --- a/tests/TestSuite_rxtx_offload.py
> +++ b/tests/TestSuite_rxtx_offload.py
> @@ -89,7 +89,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","fortpark_BASE-T",
> + "fortville_spirit_single",
> + "fortpark_TLV","fortpark_BASE-T", "carlsville",
> "niantic", "twinpond", "sagepond", "sageville", "foxville"],
> "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) @@ -505,7 +505,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","fortpark_BASE-T"]):
> + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T",
> "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") @@ -545,7 +545,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","fortpark_BASE-T"]):
> + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T",
> "carlsville"]):
> self.dut.send_expect("port stop 0", "testpmd> ")
> self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ")
> offload = ["vlan_insert"]
> @@ -660,7 +660,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","fortpark_BASE-T"]):
> + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T",
> "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> ")
> --
> 1.8.3.1
More information about the dts
mailing list