Thread (11 messages) 11 messages, 2 authors, 2025-09-26

Re: [PATCH net-next v5 0/4] net: wangxun: support to configure RSS

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-09-26 02:04:03

On Thu, 25 Sep 2025 15:28:11 +0800 Jiawen Wu wrote:
On Thu, Sep 25, 2025 9:37 AM, Jakub Kicinski wrote:
quoted
On Mon, 22 Sep 2025 17:43:23 +0800 Jiawen Wu wrote:  
quoted
Implement ethtool ops for RSS configuration, and support multiple RSS
for multiple pools.  
There is a few tests for the RSS API in the tree:

tools/testing/selftests/drivers/net/hw/rss_api.py
tools/testing/selftests/drivers/net/hw/rss_ctx.py

Please run these and add the output to the cover letter.

Instructions for running the tests are here:

https://github.com/linux-netdev/nipa/wiki/Running-driver-tests  
The output shows many fail cases. Is it normal? Or is there some issue
with my environment?
It's most;u normal, the test don't check capabilities so if you don't
support a feature the test case will fail.
root@w-MS-7E16:~/net-next# NETIF=enp17s0f0 tools/testing/selftests/drivers/net/hw/rss_api.py
TAP version 13
1..12
ok 1 rss_api.test_rxfh_nl_set_fail
ok 2 rss_api.test_rxfh_nl_set_indir
not ok 3 rss_api.test_rxfh_nl_set_indir_ctx
ok 4 rss_api.test_rxfh_indir_ntf
not ok 5 rss_api.test_rxfh_indir_ctx_ntf
ok 6 rss_api.test_rxfh_nl_set_key
ok 7 rss_api.test_rxfh_fields
not ok 9 rss_api.test_rxfh_fields_set_xfrm
ok 10 rss_api.test_rxfh_fields_ntf
not ok 11 rss_api.test_rss_ctx_add
not ok 12 rss_api.test_rss_ctx_ntf
# Totals: pass:6 fail:6 xfail:0 xpass:0 skip:0 error:0
These all look fine. You don't support RSS contexts (yet) so the
context tests can fail
root@w-MS-7E16:~/net-next# NETIF=enp17s0f0 LOCAL_V4="10.10.10.1" REMOTE_V4="10.10.10.2" REMOTE_TYPE=ssh
REMOTE_ARGS="root@192.168.14.104" tools/testing/selftests/drivers/net/hw/rss_ctx.py
root@192.168.14.104's password:
TAP version 13
1..17
not ok 1 rss_ctx.test_rss_key_indir
ok 2 rss_ctx.test_rss_queue_reconfigure # SKIP Not enough queues for the test or qstat not supported
ok 3 rss_ctx.test_rss_resize
ok 4 rss_ctx.test_hitless_key_update # SKIP Test requires command: iperf3
Please install iperf3 and retry just this one?
not ok 5 rss_ctx.test_rss_context
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help