diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-08-10 07:37:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-08-12 15:16:24 +0200 |
commit | 3d50c66c0609c8b64fb22e9c188fca88f34e7c98 (patch) | |
tree | 68d20fe1f4a6d3aae74c62cd4b5f9d49a42c57f1 /include/uapi | |
parent | ethtool: rss: support dumping RSS contexts (diff) | |
download | linux-3d50c66c0609c8b64fb22e9c188fca88f34e7c98.tar.xz linux-3d50c66c0609c8b64fb22e9c188fca88f34e7c98.zip |
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>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/ethtool_netlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ethtool_netlink.h b/include/uapi/linux/ethtool_netlink.h index 6d5bdcc67631..93c57525a975 100644 --- a/include/uapi/linux/ethtool_netlink.h +++ b/include/uapi/linux/ethtool_netlink.h @@ -965,6 +965,7 @@ enum { ETHTOOL_A_RSS_INDIR, /* binary */ ETHTOOL_A_RSS_HKEY, /* binary */ ETHTOOL_A_RSS_INPUT_XFRM, /* u32 */ + ETHTOOL_A_RSS_START_CONTEXT, /* u32 */ __ETHTOOL_A_RSS_CNT, ETHTOOL_A_RSS_MAX = (__ETHTOOL_A_RSS_CNT - 1), |