test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/nic_single_core_perf: add workaround for cvl io forward
@ 2020-03-18 13:39 Lijuan Tu
  2020-03-20  8:23 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2020-03-18 13:39 UTC (permalink / raw)
  To: dts; +Cc: Lijuan Tu

* 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@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


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

* Re: [dts] [PATCH V1] tests/nic_single_core_perf: add workaround for cvl io forward
  2020-03-18 13:39 [dts] [PATCH V1] tests/nic_single_core_perf: add workaround for cvl io forward Lijuan Tu
@ 2020-03-20  8:23 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-03-20  8:23 UTC (permalink / raw)
  To: dts

Applied, thanks

> -----Original Message-----
> From: Tu, Lijuan
> Sent: Wednesday, March 18, 2020 9:39 PM
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@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@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


^ 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-03-18 13:39 [dts] [PATCH V1] tests/nic_single_core_perf: add workaround for cvl io forward Lijuan Tu
2020-03-20  8:23 ` 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