[dts] [PATCH V1] tests/nic_single_core_perf: add workaround for cvl io forward

Tu, Lijuan lijuan.tu at intel.com
Fri Mar 20 09:23:17 CET 2020


Applied, thanks

> -----Original Message-----
> From: Tu, Lijuan
> Sent: Wednesday, March 18, 2020 9:39 PM
> To: dts at dpdk.org
> Cc: Tu, Lijuan <lijuan.tu at intel.com>
> Subject: [dts] [PATCH V1] tests/nic_single_core_perf: add workaround for cvl
> io forward
> 
> * fix txq/rxq setting for cvl
> * add workaround for cvl that can't forward packets in io forward mode
> 
> Signed-off-by: Lijuan Tu <lijuan.tu at intel.com>
> ---
>  tests/TestSuite_nic_single_core_perf.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_nic_single_core_perf.py
> b/tests/TestSuite_nic_single_core_perf.py
> index 48a0d8a..b4d82c1 100644
> --- a/tests/TestSuite_nic_single_core_perf.py
> +++ b/tests/TestSuite_nic_single_core_perf.py
> @@ -231,7 +231,9 @@ class TestNicSingleCorePerf(TestCase):
>              param += " --rxq=2 --txq=2"
>          # columbiaville use one queue per port for best performance.
>          elif self.nic in ["columbiaville_100g", "columbiaville_25g"]:
> -            param += "  --rxq=%d --rxq=%d" % (port_num, port_num)
> +            param += " --rxq=1 --txq=1"
> +            # workaround for that testpmd can't forward packets in io forward
> mode
> +            param += " --port-topology=loop"
> 
>          for frame_size in list(self.test_parameters.keys()):
>              self.throughput[frame_size] = dict()
> --
> 1.8.3.1



More information about the dts mailing list