[dts] [PATCH V1] tests/dynamic_queue add more cores for testpmd
Tu, Lijuan
lijuan.tu at intel.com
Mon May 6 03:44:49 CEST 2019
Could you please check your system has enough cores before starting tests, snice not all platform has 7 cores.
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhuwenhui
> Sent: Thursday, April 25, 2019 10:13 AM
> To: dts at dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu at intel.com>
> Subject: [dts] [PATCH V1] tests/dynamic_queue add more cores for testpmd
>
> When fortville spirit binds multiple ports, starting testpmd requires more
> cores.
>
> Signed-off-by: zhuwenhui <wenhuix.zhu at intel.com>
> ---
> tests/TestSuite_dynamic_queue.py | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/tests/TestSuite_dynamic_queue.py
> b/tests/TestSuite_dynamic_queue.py
> index 3aad63f..e07efa8 100644
> --- a/tests/TestSuite_dynamic_queue.py
> +++ b/tests/TestSuite_dynamic_queue.py
> @@ -27,12 +27,11 @@ class TestDynamicQueue(TestCase):
> self.dut_testpmd = PmdOutput(self.dut)
>
> def set_up(self):
> - # Because of fortville spirit limitation,can't use 2 ports for testing
> + # Fortville_spirit needs more cores to run properly
> if (self.nic in ["fortville_spirit"]):
> self.dut_testpmd.start_testpmd(
> - "Default", "--port-topology=chained --txq=%s --rxq=%s"
> - % (self.PF_QUEUE, self.PF_QUEUE), eal_param="-w %s"
> - % (self.dut.get_port_pci(self.dut_ports[0])))
> + "1S/7C/1T", "--port-topology=chained --txq=%s --rxq=%s"
> + % (self.PF_QUEUE, self.PF_QUEUE))
> elif (self.nic in ["cavium_a063"]):
> eal_opts = ""
> for port in self.dut_ports:
> --
> 2.17.2
More information about the dts
mailing list