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

* RE: [dts][PATCH V1] test/rxtx_offload:add RSS_HASH display
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Jiang, YuX @ 2021-11-15  9:55 UTC (permalink / raw)
  To: Yang, LeweiX, Tu, Lijuan, dts; +Cc: Yang, LeweiX

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

> -----Original Message-----
> From: Lewei Yang <leweix.yang@intel.com>
> Sent: Saturday, November 13, 2021 12:50 AM
> To: dts@dpdk.org
> Cc: Yang, LeweiX <leweix.yang@intel.com>
> Subject: [dts][PATCH V1] test/rxtx_offload:add RSS_HASH display
> 
> 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>
> ---
Tested-by: Lewei Yang <leweix.yang@intel.com>

Test Result as below.
            "rxtx_callbacks/test_rxtx_callbacks": "passed",
            "rxtx_offload/test_rxoffload_port": "failed",
            "rxtx_offload/test_rxoffload_port_all": "passed",
            "rxtx_offload/test_rxoffload_port_cmdline": "passed",
            "rxtx_offload/test_rxoffload_queue": "n/a",
            "rxtx_offload/test_txoffload_port": "passed",
            "rxtx_offload/test_txoffload_port_all": "passed",
            "rxtx_offload/test_txoffload_port_checksum": "passed",
            "rxtx_offload/test_txoffload_port_cmdline": "passed",
            "rxtx_offload/test_txoffload_port_multi_segs": "passed",
            "rxtx_offload/test_txoffload_queue": "passed",
            "shutdown_api/test_check_rxtx_desc_status": "passed",

"rxtx_offload/test_rxoffload_port": "failed" due to dpdk commit b563c1421282("ethdev: remove jumbo offload flag"),
'DEV_RX_OFFLOAD_JUMBO_FRAME' offload flag has been removed, will remove jumboframe related tests, pls also help to merge it.
patch link: http://patchwork.dpdk.org/project/dts/patch/20211111160233.19355-1-leweix.yang@intel.com/

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

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

* RE: [dts][PATCH V1] test/rxtx_offload:add RSS_HASH display
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-11-22 14:20 UTC (permalink / raw)
  To: Yang, LeweiX, dts; +Cc: Yang, LeweiX

> -----Original Message-----
> From: Lewei Yang <leweix.yang@intel.com>
> Sent: 2021年11月13日 0:50
> To: dts@dpdk.org
> Cc: Yang, LeweiX <leweix.yang@intel.com>
> Subject: [dts][PATCH V1] test/rxtx_offload:add RSS_HASH display
> 
> 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>

Applied, thanks

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