[dts] [PATCH V1] tests/perf_virtio_user_loopback: rm useless params when start testpmd

Tu, Lijuan lijuan.tu at intel.com
Fri Feb 21 03:03:20 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lihong
> Sent: Thursday, February 20, 2020 6:49 AM
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at intel.com>
> Subject: [dts] [PATCH V1] tests/perf_virtio_user_loopback: rm useless
> params when start testpmd
> 
> Signed-off-by: lihong <lihongx.ma at intel.com>
> ---
>  tests/TestSuite_perf_virtio_user_loopback.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_perf_virtio_user_loopback.py
> b/tests/TestSuite_perf_virtio_user_loopback.py
> index a27b049..15bc54c 100644
> --- a/tests/TestSuite_perf_virtio_user_loopback.py
> +++ b/tests/TestSuite_perf_virtio_user_loopback.py
> @@ -107,7 +107,7 @@ class TestPerfVirtioUserLoopback(TestCase):
>          eal_params = self.dut.create_eal_parameters(cores=self.core_list_host,
>                          no_pci=True, prefix='vhost')
>          command_line_client = self.dut.target + "/app/testpmd %s " + \
> -                              "--socket-mem %s --legacy-mem  --vdev " + \
> +                              "--socket-mem %s --vdev " + \
>                                "'net_vhost0,iface=vhost-net,queues=%d' -- -i --nb-
> cores=%d " + \
>                                "--rxq=%d --txq=%d --txd=%d --rxd=%d"
>          command_line_client = command_line_client % ( @@ -124,7 +124,7
> @@ class TestPerfVirtioUserLoopback(TestCase):
>          eal_params = self.dut.create_eal_parameters(cores=self.core_list_user,
>                          no_pci=True, prefix='virtio')
>          command_line_user = self.dut.target + "/app/testpmd %s " + \
> -                            " --socket-mem %s --legacy-mem " + \
> +                            " --socket-mem %s " + \
>                              "--
> vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-
> net,queues=%d,%s " + \
>                              "-- -i %s --rss-ip --nb-cores=%d --rxq=%d --txq=%d --txd=%d --
> rxd=%d"
>          command_line_user = command_line_user % (
> --
> 2.7.4



More information about the dts mailing list