From: xiewei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: xiewei <weix.xie@intel.com>
Subject: [dts] [PATCH V1 2/2] tests/rxtx_offload: adapt to CVL NIC
Date: Thu, 1 Apr 2021 00:47:27 +0800 [thread overview]
Message-ID: <20210331164727.23801-3-weix.xie@intel.com> (raw)
In-Reply-To: <20210331164727.23801-1-weix.xie@intel.com>
rxtx_offload/txoffload_queue: it failed to enable mbuf_fast_free per_queue.
Signed-off-by: xiewei <weix.xie@intel.com>
---
tests/TestSuite_rxtx_offload.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py
index 0e70526f..6b121ade 100644
--- a/tests/TestSuite_rxtx_offload.py
+++ b/tests/TestSuite_rxtx_offload.py
@@ -698,8 +698,12 @@ class TestRxTx_Offload(TestCase):
self.dut.send_expect("port 0 txq 1 tx_offload mbuf_fast_free on", "testpmd> ")
self.dut.send_expect("port 0 txq 2 tx_offload mbuf_fast_free on", "testpmd> ")
self.dut.send_expect("port 0 txq 3 tx_offload mbuf_fast_free on", "testpmd> ")
- offload = ["mbuf_fast_free", "mbuf_fast_free", "mbuf_fast_free", "mbuf_fast_free"]
- self.check_queue_config("tx", offload)
+ if self.nic in ['columbiaville_25g', 'columbiaville_100g']:
+ out = self.dut.send_expect("port start 0", "testpmd> ")
+ self.verify("Fail to configure port 0 tx queues" in out, "mbuf_fast_free can be set by queue.")
+ else:
+ offload = ["mbuf_fast_free", "mbuf_fast_free", "mbuf_fast_free", "mbuf_fast_free"]
+ self.check_queue_config("tx", offload)
# Disable mbuf_fast_free per_queue.
self.dut.send_expect("port stop 0", "testpmd> ")
--
2.17.1
prev parent reply other threads:[~2021-03-31 8:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-31 16:47 [dts] [PATCH V1 0/2] " xiewei
2021-03-31 8:18 ` Xie, WeiX
2021-03-31 16:47 ` [dts] [PATCH V1 1/2] test_plans/rxtx_offload_test_plan: " xiewei
2021-04-07 6:43 ` Tu, Lijuan
2021-03-31 16:47 ` xiewei [this message]
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=20210331164727.23801-3-weix.xie@intel.com \
--to=weix.xie@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).