[dts] [PATCH V5] tests/cvl_advanced_rss:change port to start testpmd
Tu, Lijuan
lijuan.tu at intel.com
Sun Jan 19 09:32:10 CET 2020
applied
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Sunday, January 19, 2020 3:09 PM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V5] tests/cvl_advanced_rss:change port to start
> testpmd
>
> *.CVL 25G have 4 ports, no need put all ports to start testpmd.
>
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
> ---
> tests/TestSuite_cvl_advanced_rss.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_cvl_advanced_rss.py
> b/tests/TestSuite_cvl_advanced_rss.py
> index 8faee33..58c7b02 100644
> --- a/tests/TestSuite_cvl_advanced_rss.py
> +++ b/tests/TestSuite_cvl_advanced_rss.py
> @@ -849,7 +849,7 @@ class AdvancedRSSTest(TestCase):
> Create testpmd command for non-pipeline mode
> """
> #Prepare testpmd EAL and parameters
> - all_eal_param = self.dut.create_eal_parameters()
> + all_eal_param = self.dut.create_eal_parameters(ports=[self.pf_pci])
> print(all_eal_param) #print eal parameters
> command = "./%s/app/testpmd %s -- -i %s" % (self.dut.target,
> all_eal_param, "--rxq=64 --txq=64")
> return command
> --
> 1.8.3.1
More information about the dts
mailing list