netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jiawen Wu" <jiawenwu@trustnetic.com>
To: "'Jakub Kicinski'" <kuba@kernel.org>
Cc: <netdev@vger.kernel.org>, "'Andrew Lunn'" <andrew+netdev@lunn.ch>,
	"'David S. Miller'" <davem@davemloft.net>,
	"'Eric Dumazet'" <edumazet@google.com>,
	"'Paolo Abeni'" <pabeni@redhat.com>,
	"'Simon Horman'" <horms@kernel.org>,
	"'Alexander Lobakin'" <aleksander.lobakin@intel.com>,
	"'Mengyuan Lou'" <mengyuanlou@net-swift.com>
Subject: RE: [PATCH net-next v5 0/4] net: wangxun: support to configure RSS
Date: Thu, 25 Sep 2025 15:28:11 +0800	[thread overview]
Message-ID: <05ab01dc2ded$f2e9a610$d8bcf230$@trustnetic.com> (raw)
In-Reply-To: <20250924183640.62a1293e@kernel.org>

On Thu, Sep 25, 2025 9:37 AM, Jakub Kicinski wrote:
> On Mon, 22 Sep 2025 17:43:23 +0800 Jiawen Wu wrote:
> > 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?

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
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_api.py", line 125, in test_rxfh_nl_set_indir_ctx
# Exception|     ctx_id = _ethtool_create(cfg, "-X", "context new")
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_api.py", line 26, in _ethtool_create
# Exception|     output = ethtool(f"{act} {cfg.ifname} {opts}").stdout
# Exception|              ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 194, in ethtool
# Exception|     return tool('ethtool', args, json=json, ns=ns, host=host)
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 177, in tool
# Exception|     cmd_obj = cmd(cmd_str, ns=ns, host=host)
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 75, in __init__
# Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 95, in process
# Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# Exception|                          (self.proc.args, stdout, stderr), self)
# Exception| net.lib.py.utils.CmdExitFailure: Command failed: ['ethtool', '-X', 'enp17s0f0', 'context', 'new']
# Exception| STDOUT: b''
# Exception| STDERR: b'Cannot set RX flow hash configuration: Operation not supported\n'
not ok 3 rss_api.test_rxfh_nl_set_indir_ctx
ok 4 rss_api.test_rxfh_indir_ntf
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_api.py", line 188, in test_rxfh_indir_ctx_ntf
# Exception|     ctx_id = _ethtool_create(cfg, "-X", "context new")
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_api.py", line 26, in _ethtool_create
# Exception|     output = ethtool(f"{act} {cfg.ifname} {opts}").stdout
# Exception|              ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 194, in ethtool
# Exception|     return tool('ethtool', args, json=json, ns=ns, host=host)
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 177, in tool
# Exception|     cmd_obj = cmd(cmd_str, ns=ns, host=host)
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 75, in __init__
# Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 95, in process
# Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# Exception|                          (self.proc.args, stdout, stderr), self)
# Exception| net.lib.py.utils.CmdExitFailure: Command failed: ['ethtool', '-X', 'enp17s0f0', 'context', 'new']
# Exception| STDOUT: b''
# Exception| STDERR: b'Cannot set RX flow hash configuration: Operation not supported\n'
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
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_api.py", line 306, in test_rxfh_fields_set
# Exception|     cfg.ethnl.rss_set({
# Exception|     ~~~~~~~~~~~~~~~~~^^
# Exception|         "header": {"dev-index": cfg.ifindex},
# Exception|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|         "flow-hash": {x: change for x in flow_types}
# Exception|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|     })
# Exception|     ^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Invalid argument
# Exception| nl_len = 36 (20) nl_flags = 0x100 nl_type = 2
# Exception|    error: -22
not ok 8 rss_api.test_rxfh_fields_set
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_api.py", line 337, in test_rxfh_fields_set_xfrm
# Exception|     set_rss(cfg, {}, {"tcp4": {"ip-src"}})
# Exception|     ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_api.py", line 321, in set_rss
# Exception|     cfg.ethnl.rss_set({"header": {"dev-index": cfg.ifindex},
# Exception|     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|                        "input-xfrm": xfrm, "flow-hash": fh})
# Exception|                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Invalid argument
# Exception| nl_len = 36 (20) nl_flags = 0x100 nl_type = 2
# Exception|    error: -22
not ok 9 rss_api.test_rxfh_fields_set_xfrm
ok 10 rss_api.test_rxfh_fields_ntf
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_api.py", line 400, in test_rss_ctx_add
# Exception|     ctx = cfg.ethnl.rss_create_act({"header": {"dev-index": cfg.ifindex}})
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 36 (20) nl_flags = 0x100 nl_type = 2
# Exception|    error: -95
not ok 11 rss_api.test_rss_ctx_add
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_api.py", line 435, in test_rss_ctx_ntf
# Exception|     ctx = cfg.ethnl.rss_create_act({"header": {"dev-index": cfg.ifindex}})
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 36 (20) nl_flags = 0x100 nl_type = 2
# Exception|    error: -95
not ok 12 rss_api.test_rss_ctx_ntf
# Totals: pass:6 fail:6 xfail:0 xpass:0 skip:0 error:0



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
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 119, in test_rss_key_indir
# Exception|     qcnt = len(_get_rx_cnts(cfg))
# Exception|                ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
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
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 446, in test_rss_context
# Exception|     qcnt = len(_get_rx_cnts(cfg))
# Exception|                ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
not ok 5 rss_ctx.test_rss_context
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 507, in test_rss_context4
# Exception|     test_rss_context(cfg, 4)
# Exception|     ~~~~~~~~~~~~~~~~^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 446, in test_rss_context
# Exception|     qcnt = len(_get_rx_cnts(cfg))
# Exception|                ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
not ok 6 rss_ctx.test_rss_context4
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 511, in test_rss_context32
# Exception|     test_rss_context(cfg, 32)
# Exception|     ~~~~~~~~~~~~~~~~^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 446, in test_rss_context
# Exception|     qcnt = len(_get_rx_cnts(cfg))
# Exception|                ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
not ok 7 rss_ctx.test_rss_context32
ok 8 rss_ctx.test_rss_context_dump # SKIP Unable to add any contexts
ok 9 rss_ctx.test_rss_context_queue_reconfigure # SKIP Not enough queues for the test or qstat not supported
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 607, in test_rss_context_overlap
# Exception|     queue_cnt = len(_get_rx_cnts(cfg))
# Exception|                     ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
not ok 10 rss_ctx.test_rss_context_overlap
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 664, in test_rss_context_overlap2
# Exception|     test_rss_context_overlap(cfg, True)
# Exception|     ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 607, in test_rss_context_overlap
# Exception|     queue_cnt = len(_get_rx_cnts(cfg))
# Exception|                     ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
not ok 11 rss_ctx.test_rss_context_overlap2
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 534, in test_rss_context_out_of_order
# Exception|     qcnt = len(_get_rx_cnts(cfg))
# Exception|                ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
not ok 12 rss_ctx.test_rss_context_out_of_order
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 515, in
test_rss_context4_create_with_cfg
# Exception|     test_rss_context(cfg, 4, create_with_cfg=True)
# Exception|     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 446, in test_rss_context
# Exception|     qcnt = len(_get_rx_cnts(cfg))
# Exception|                ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
not ok 13 rss_ctx.test_rss_context4_create_with_cfg
ok 14 rss_ctx.test_flow_add_context_missing
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 699, in test_delete_rss_context_busy
# Exception|     ctx_id = ethtool_create(cfg, "-X", "context new")
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 48, in ethtool_create
# Exception|     output = ethtool(f"{act} {cfg.ifname} {opts}").stdout
# Exception|              ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 194, in ethtool
# Exception|     return tool('ethtool', args, json=json, ns=ns, host=host)
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 177, in tool
# Exception|     cmd_obj = cmd(cmd_str, ns=ns, host=host)
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 75, in __init__
# Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/utils.py", line 95, in process
# Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# Exception|                          (self.proc.args, stdout, stderr), self)
# Exception| net.lib.py.utils.CmdExitFailure: Command failed: ['ethtool', '-X', 'enp17s0f0', 'context', 'new']
# Exception| STDOUT: b''
# Exception| STDERR: b'Cannot set RX flow hash configuration: Operation not supported\n'
not ok 15 rss_ctx.test_delete_rss_context_busy
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 725, in test_rss_ntuple_addition
# Exception|     queue_cnt = len(_get_rx_cnts(cfg))
# Exception|                     ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
not ok 16 rss_ctx.test_rss_ntuple_addition
# Exception| Traceback (most recent call last):
# Exception|   File "/root/net-next/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# Exception|     case(*args)
# Exception|     ~~~~^^^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 768, in test_rss_default_context_rule
# Exception|     queue_cnt = len(_get_rx_cnts(cfg))
# Exception|                     ~~~~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/testing/selftests/drivers/net/hw/rss_ctx.py", line 74, in _get_rx_cnts
# Exception|     data = cfg.netdevnl.qstats_get({"ifindex": cfg.ifindex, "scope": ["queue"]}, dump=True)
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1141, in _op
# Exception|     return self._ops(ops)[0]
# Exception|            ~~~~~~~~~^^^^^
# Exception|   File "/root/net-next/tools/net/ynl/pyynl/lib/ynl.py", line 1097, in _ops
# Exception|     raise NlError(nl_msg)
# Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported
# Exception| nl_len = 28 (12) nl_flags = 0x202 nl_type = 3
# Exception|    error: -95
# Exception|    extack: {'bad-attr': '.ifindex'}
not ok 17 rss_ctx.test_rss_default_context_rule
# Totals: pass:2 fail:11 xfail:0 xpass:0 skip:4 error:0


  reply	other threads:[~2025-09-25  7:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-22  9:43 [PATCH net-next v5 0/4] net: wangxun: support to configure RSS Jiawen Wu
2025-09-22  9:43 ` [PATCH net-next v5 1/4] net: libwx: support separate RSS configuration for every pool Jiawen Wu
2025-09-25  1:30   ` Jakub Kicinski
2025-09-22  9:43 ` [PATCH net-next v5 2/4] net: libwx: move rss_field to struct wx Jiawen Wu
2025-09-22  9:43 ` [PATCH net-next v5 3/4] net: wangxun: add RSS reta and rxfh fields support Jiawen Wu
2025-09-22  9:43 ` [PATCH net-next v5 4/4] net: libwx: restrict change user-set RSS configuration Jiawen Wu
2025-09-25  1:34   ` Jakub Kicinski
2025-09-25  1:36 ` [PATCH net-next v5 0/4] net: wangxun: support to configure RSS Jakub Kicinski
2025-09-25  7:28   ` Jiawen Wu [this message]
2025-09-26  2:04     ` Jakub Kicinski
2025-09-26  2:21       ` Jiawen Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='05ab01dc2ded$f2e9a610$d8bcf230$@trustnetic.com' \
    --to=jiawenwu@trustnetic.com \
    --cc=aleksander.lobakin@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=mengyuanlou@net-swift.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).