test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V5] tests/cvl_advanced_rss:change port to start testpmd
@ 2020-01-19  7:09 Zeng Xiaoxiao
  2020-01-19  8:32 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Zeng Xiaoxiao @ 2020-01-19  7:09 UTC (permalink / raw)
  To: dts; +Cc: Zeng Xiaoxiao

*.CVL 25G have 4 ports, no need put all ports to start testpmd.

Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V5] tests/cvl_advanced_rss:change port to start testpmd
  2020-01-19  7:09 [dts] [PATCH V5] tests/cvl_advanced_rss:change port to start testpmd Zeng Xiaoxiao
@ 2020-01-19  8:32 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-01-19  8:32 UTC (permalink / raw)
  To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX

applied

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Sunday, January 19, 2020 3:09 PM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@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@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-19  7:09 [dts] [PATCH V5] tests/cvl_advanced_rss:change port to start testpmd Zeng Xiaoxiao
2020-01-19  8:32 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox