linux-kernelorg-stable/drivers/net/ethernet/netronome/nfp
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
..
abm
bpf
crypto tcp: Don't pass hashinfo to socket lookup helpers. 2025-08-25 17:53:35 -07:00
flower nfp: flower: use vmalloc_array() to simplify code 2025-08-18 17:49:51 -07:00
nfd3
nfdk
nfpcore
nic
Makefile
ccm.c
ccm.h
ccm_mbox.c
devlink_param.c devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
nfp_abi.h
nfp_app.c
nfp_app.h
nfp_app_nic.c
nfp_asm.c
nfp_asm.h
nfp_devlink.c
nfp_hwmon.c
nfp_main.c net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
nfp_main.h
nfp_net.h
nfp_net_common.c nfp: xsk: fix memory leak in nfp_net_alloc() 2025-10-29 17:38:23 -07:00
nfp_net_ctrl.c
nfp_net_ctrl.h
nfp_net_debugdump.c
nfp_net_debugfs.c
nfp_net_dp.c
nfp_net_dp.h
nfp_net_ethtool.c nfp: fix RSS hash key size when RSS is not supported 2025-09-29 18:33:27 -07:00
nfp_net_main.c
nfp_net_repr.c
nfp_net_repr.h
nfp_net_sriov.c
nfp_net_sriov.h
nfp_net_xsk.c
nfp_net_xsk.h
nfp_netvf_main.c
nfp_port.c
nfp_port.h
nfp_shared_buf.c