From: Bo Chen <BoX.C.Chen@intel.com>
To: dts@dpdk.org
Cc: Bo Chen <BoX.C.Chen@intel.com>
Subject: [dts] [PATCH V1] tests/rxtx_offload: match the feature of CVL
Date: Wed, 14 Apr 2021 10:34:22 +0000 [thread overview]
Message-ID: <20210414103422.22388-1-BoX.C.Chen@intel.com> (raw)
CVL only check the received pkt, no need to verify the queue.
Signed-off-by: Bo Chen <BoX.C.Chen@intel.com>
---
tests/TestSuite_rxtx_offload.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py
index 0e70526f..647ba59a 100644
--- a/tests/TestSuite_rxtx_offload.py
+++ b/tests/TestSuite_rxtx_offload.py
@@ -314,6 +314,12 @@ class TestRxTx_Offload(TestCase):
scanner = re.compile(result_scanner, re.DOTALL)
m = scanner.search(outstring)
queue_id = m.group(1)
+
+ # When rx_offload if configured, cvl will reset the relevant function.
+ # So we only check the received pkt, not the queue.
+ if 'columbiaville' in self.nic:
+ self.verify("Queue" in outstring, "the offload setting doesn't take effect.")
+ return
self.verify(int(expect_queue) == int(queue_id), "the offload setting doesn't take effect.")
def start_tcpdump(self, rxItf):
--
2.31.1
next reply other threads:[~2021-04-14 2:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-14 10:34 Bo Chen [this message]
2021-04-14 2:34 ` Chen, BoX C
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=20210414103422.22388-1-BoX.C.Chen@intel.com \
--to=box.c.chen@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).