linux-kernelorg-stable/drivers/net/ethernet/amd
Daniel Zahka 011d133bb9 devlink: pass extack through to devlink_param::get()
Allow devlink_param::get() handlers to report error messages via
extack. This function is called in a few different contexts, but not
all of them will have an valid extack to use.

When devlink_param::get() is called from param_get_doit or
param_get_dumpit contexts, pass the extack through so that drivers can
report errors when retrieving param values. devlink_param::get() is
called from the context of devlink_param_notify(), pass NULL in for
the extack.

Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20251119025038.651131-2-daniel.zahka@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-20 19:01:22 -08:00
..
pds_core devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
xgbe amd-xgbe: add ethtool jumbo frame selftest 2025-11-06 13:38:11 +01:00
7990.c
7990.h
Kconfig amd-xgbe: introduce support ethtool selftest 2025-11-06 13:38:11 +01:00
Makefile
a2065.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
a2065.h
amd8111e.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
amd8111e.h net: amd8111e: Remove duplicate definition of PCI_VENDOR_ID_AMD 2024-10-28 15:48:51 -07:00
ariadne.c
ariadne.h
atarilance.c
au1000_eth.c net: au1000_eth: Mark au1000_ReleaseDB() static 2025-03-25 08:27:27 -07:00
au1000_eth.h
declance.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
hplance.c
hplance.h
lance.c
mvme147.c
nmclan_cs.c
pcnet32.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
sun3lance.c
sunlance.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00