test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] test/rxtx_offload:add RSS_HASH display
@ 2021-11-12 16:49 Lewei Yang
  2021-11-15  9:55 ` Jiang, YuX
  2021-11-22 14:20 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Lewei Yang @ 2021-11-12 16:49 UTC (permalink / raw)
  To: dts; +Cc: Lewei Yang

According to dpdk commit 655eae01f993("app/testpmd: fix RSS hash offload display"),
RSS_HASH is displayed by default

Signed-off-by: Lewei Yang <leweix.yang@intel.com>
---
 tests/TestSuite_rxtx_offload.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py
index 14fd40ac..59d3b821 100644
--- a/tests/TestSuite_rxtx_offload.py
+++ b/tests/TestSuite_rxtx_offload.py
@@ -165,7 +165,10 @@ class TestRxTx_Offload(TestCase):
         scanner = re.compile(result_scanner, re.DOTALL)
         m = scanner.search(outstring)
         if offload == "NULL":
-            self.verify(m == None, "The offload failed to be disabled.")
+            if rxtx == "rx":
+                self.verify(m.group(1).strip() == 'RSS_HASH', "The offload failed to be disabled.")
+            elif rxtx == "tx":
+                self.verify(m == None, "The offload failed to be disabled.")
         else:
             exp_offload = m.group(1).split()
             self.verify(exp_offload != None, "There is no offload configured.")
-- 
2.33.1


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

end of thread, other threads:[~2021-11-22 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 16:49 [dts][PATCH V1] test/rxtx_offload:add RSS_HASH display Lewei Yang
2021-11-15  9:55 ` Jiang, YuX
2021-11-22 14:20 ` Tu, Lijuan

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