summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-07-11 15:07:04 -0700
committerJakub Kicinski <kuba@kernel.org>2024-07-12 22:16:22 -0700
commit28c8757a792bbbc76407777bd0303862daa75057 (patch)
tree1c0b02fa912946f58fc71b6619aa0f807531ffcc /drivers/net/ethernet/broadcom
parentd69ba6bbaf1f606ac354e925571a54d025e32aae (diff)
net: ethtool: let drivers declare max size of RSS indir table and key
Some drivers (bnxt but I think also mlx5 from ML discussions) change the size of the indirection table depending on the number of Rx rings. Decouple the max table size from the size of the currently used table, so that we can reserve space in the context for table growth. Static members in ethtool_ops are good enough for now, we can add callbacks to read the max size more dynamically if someone needs that. Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Link: https://patch.msgid.link/20240711220713.283778-3-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
0 files changed, 0 insertions, 0 deletions