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> |
||
|---|---|---|
| .. | ||
| abm | ||
| bpf | ||
| crypto | ||
| flower | ||
| nfd3 | ||
| nfdk | ||
| nfpcore | ||
| nic | ||
| Makefile | ||
| ccm.c | ||
| ccm.h | ||
| ccm_mbox.c | ||
| devlink_param.c | ||
| 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 | ||
| nfp_main.h | ||
| nfp_net.h | ||
| nfp_net_common.c | ||
| 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_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 | ||