From: Lijuan Tu <lijuan.tu@intel.com>
To: dts@dpdk.org
Cc: Lijuan Tu <lijuan.tu@intel.com>
Subject: [dts] [PATCH V1] tests/nic_single_core_perf: add workaround for cvl io forward
Date: Wed, 18 Mar 2020 21:39:10 +0800 [thread overview]
Message-ID: <1584538750-77462-1-git-send-email-lijuan.tu@intel.com> (raw)
* 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
next reply other threads:[~2020-03-18 5:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-18 13:39 Lijuan Tu [this message]
2020-03-20 8:23 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1584538750-77462-1-git-send-email-lijuan.tu@intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).