[V1] tests/rxtx_offload: match the feature of CVL
Commit Message
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(+)
Comments
> -----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>
@@ -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):