]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ethtool: rss: support skipping contexts during dump
authorJakub Kicinski <kuba@kernel.org>
Sat, 10 Aug 2024 05:37:26 +0000 (22:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Aug 2024 13:16:24 +0000 (14:16 +0100)
commit3d50c66c0609c8b64fb22e9c188fca88f34e7c98
tree68d20fe1f4a6d3aae74c62cd4b5f9d49a42c57f1
parentf6122900f4e28bfcb8abc76e1f7b83a1e0d8afd3
ethtool: rss: support skipping contexts during dump

Applications may want to deal with dynamic RSS contexts only.
So dumping context 0 will be counter-productive for them.
Support starting the dump from a given context ID.

Alternative would be to implement a dump flag to skip just
context 0, not sure which is better...

Reviewed-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/netlink/specs/ethtool.yaml
Documentation/networking/ethtool-netlink.rst
include/uapi/linux/ethtool_netlink.h
net/ethtool/netlink.h
net/ethtool/rss.c