[dts] [PATCH V1] tests/rxtx_offload: match the feature of CVL
Bo Chen
BoX.C.Chen at intel.com
Wed Apr 14 12:34:22 CEST 2021
CVL only check the received pkt, no need to verify the queue.
Signed-off-by: Bo Chen <BoX.C.Chen at 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
More information about the dts
mailing list