diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-07-10 10:40:43 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-11 14:41:42 -0700 |
commit | 24ac7e5440815bb03bdfa9bc7e43a412b050dbaa (patch) | |
tree | 828ecbbd7e07239fd315b887774d8c8aa7612805 /samples | |
parent | 2899d58462ba868287d6ff3acad3675e7adf934f (diff) |
ethtool: use the rss context XArray in ring deactivation safety-check
ethtool_get_max_rxfh_channel() gets called when user requests
deactivating Rx channels. Check the additional RSS contexts, too.
While we do track whether RSS context has an indirection
table explicitly set by the user, no driver looks at that bit.
Assume drivers won't auto-regenerate the additional tables,
to be safe.
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20240710174043.754664-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions