]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethtool: populate the default HDS params in the core
authorJakub Kicinski <kuba@kernel.org>
Sun, 19 Jan 2025 02:05:15 +0000 (18:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 20 Jan 2025 19:44:58 +0000 (11:44 -0800)
commit928459bbda19eb47e09d9bd4386ac46fad088958
tree78e7dd6e15bbdcc93c9c4fecb80344d47f7de474
parente58263e9111733c4bfbbf07517d1f98f21134c52
net: ethtool: populate the default HDS params in the core

The core has the current HDS config, it can pre-populate the values
for the drivers. While at it, remove the zero-setting in netdevsim.
Zero are the default values since the config is zalloc'ed.

Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250119020518.1962249-6-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
drivers/net/netdevsim/ethtool.c
net/ethtool/rings.c