test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/rxtx_offload: match the feature of CVL
  2021-04-14 10:34 [dts] [PATCH V1] tests/rxtx_offload: match the feature of CVL Bo Chen
@ 2021-04-14  2:34 ` Chen, BoX C
  0 siblings, 0 replies; 2+ messages in thread
From: Chen, BoX C @ 2021-04-14  2:34 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

> -----Original Message-----
> From: Bo Chen <BoX.C.Chen@intel.com>
> Sent: April 14, 2021 18:34
> To: dts@dpdk.org
> Cc: Chen, BoX C <box.c.chen@intel.com>
> Subject: [dts][PATCH V1] tests/rxtx_offload: match the feature of CVL

Tested-by: Bo Chen <BoX.C.Chen@intel.com>

[-- Attachment #2: TestRxTx_Offload.log --]
[-- Type: application/octet-stream, Size: 81560 bytes --]

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

* [dts] [PATCH V1] tests/rxtx_offload: match the feature of CVL
@ 2021-04-14 10:34 Bo Chen
  2021-04-14  2:34 ` Chen, BoX C
  0 siblings, 1 reply; 2+ messages in thread
From: Bo Chen @ 2021-04-14 10:34 UTC (permalink / raw)
  To: dts; +Cc: Bo Chen

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


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

end of thread, other threads:[~2021-04-14  2:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 10:34 [dts] [PATCH V1] tests/rxtx_offload: match the feature of CVL Bo Chen
2021-04-14  2:34 ` Chen, BoX C

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).