/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | devlink.c | 11 static int mlx5_devlink_flash_update(struct devlink *devlink, in mlx5_devlink_flash_update() 47 mlx5_devlink_info_get(struct devlink *devlink, struct devlink_info_req *req, in mlx5_devlink_info_get() 88 static int mlx5_devlink_reload_fw_activate(struct devlink *devlink, struct netlink_ext_ack *extack) in mlx5_devlink_reload_fw_activate() 114 static int mlx5_devlink_trigger_fw_live_patch(struct devlink *devlink, in mlx5_devlink_trigger_fw_live_patch() 133 static int mlx5_devlink_reload_down(struct devlink *devlink, bool netns_change, in mlx5_devlink_reload_down() 155 static int mlx5_devlink_reload_up(struct devlink *devlink, enum devlink_reload_action action, in mlx5_devlink_reload_up() 205 void mlx5_devlink_free(struct devlink *devlink) in mlx5_devlink_free() 210 static int mlx5_devlink_fs_mode_validate(struct devlink *devlink, u32 id, in mlx5_devlink_fs_mode_validate() 247 static int mlx5_devlink_fs_mode_set(struct devlink *devlink, u32 id, in mlx5_devlink_fs_mode_set() 262 static int mlx5_devlink_fs_mode_get(struct devlink *devlink, u32 id, in mlx5_devlink_fs_mode_get() [all …]
|
/linux-5.10/net/core/ |
D | devlink.c | 102 struct net *devlink_net(const struct devlink *devlink) in devlink_net() 108 static void __devlink_net_set(struct devlink *devlink, struct net *net) in __devlink_net_set() 113 void devlink_net_set(struct devlink *devlink, struct net *net) in devlink_net_set() 124 struct devlink *devlink; in devlink_get_from_attrs() local 151 static struct devlink_port *devlink_port_get_by_index(struct devlink *devlink, in devlink_port_get_by_index() 163 static bool devlink_port_index_exists(struct devlink *devlink, in devlink_port_index_exists() 169 static struct devlink_port *devlink_port_get_from_attrs(struct devlink *devlink, in devlink_port_get_from_attrs() 184 static struct devlink_port *devlink_port_get_from_info(struct devlink *devlink, in devlink_port_get_from_info() 205 static struct devlink_sb *devlink_sb_get_by_index(struct devlink *devlink, in devlink_sb_get_by_index() 217 static bool devlink_sb_index_exists(struct devlink *devlink, in devlink_sb_index_exists() [all …]
|
/linux-5.10/drivers/net/netdevsim/ |
D | dev.c | 43 nsim_dev_take_snapshot(struct devlink *devlink, in nsim_dev_take_snapshot() 66 struct devlink *devlink; in nsim_dev_take_snapshot_write() local 268 static int nsim_dev_resources_register(struct devlink *devlink) in nsim_dev_resources_register() 349 struct devlink *devlink) in nsim_devlink_set_params_init_values() 363 static void nsim_devlink_param_load_driverinit_values(struct devlink *devlink) in nsim_devlink_param_load_driverinit_values() 390 struct devlink *devlink) in nsim_dev_dummy_region_init() 544 struct devlink *devlink = priv_to_devlink(nsim_dev); in nsim_dev_trap_report() local 613 static int nsim_dev_traps_init(struct devlink *devlink) in nsim_dev_traps_init() 685 static void nsim_dev_traps_exit(struct devlink *devlink) in nsim_dev_traps_exit() 705 static int nsim_dev_reload_down(struct devlink *devlink, bool netns_change, in nsim_dev_reload_down() [all …]
|
D | fib.c | 48 struct devlink *devlink; member 784 struct devlink *devlink = data->devlink; in nsim_fib4_rt_free() local 870 struct devlink *devlink) in nsim_fib_set_max_all() 889 struct nsim_fib_data *nsim_fib_create(struct devlink *devlink, in nsim_fib_create() 942 void nsim_fib_destroy(struct devlink *devlink, struct nsim_fib_data *data) in nsim_fib_destroy()
|
D | bus.c | 101 struct devlink *devlink; in new_port_store() local 130 struct devlink *devlink; in del_port_store() local
|
/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_devlink.c | 65 nfp_devlink_port_split(struct devlink *devlink, unsigned int port_index, in nfp_devlink_port_split() 99 nfp_devlink_port_unsplit(struct devlink *devlink, unsigned int port_index, in nfp_devlink_port_unsplit() 133 nfp_devlink_sb_pool_get(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_get() 142 nfp_devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_set() 153 static int nfp_devlink_eswitch_mode_get(struct devlink *devlink, u16 *mode) in nfp_devlink_eswitch_mode_get() 160 static int nfp_devlink_eswitch_mode_set(struct devlink *devlink, u16 mode, in nfp_devlink_eswitch_mode_set() 255 nfp_devlink_info_get(struct devlink *devlink, struct devlink_info_req *req, in nfp_devlink_info_get() 332 nfp_devlink_flash_update(struct devlink *devlink, in nfp_devlink_flash_update() 354 struct devlink *devlink; in nfp_devlink_port_register() local
|
D | devlink_param.c | 83 nfp_devlink_param_u8_get(struct devlink *devlink, u32 id, in nfp_devlink_param_u8_get() 134 nfp_devlink_param_u8_set(struct devlink *devlink, u32 id, in nfp_devlink_param_u8_set() 170 nfp_devlink_param_u8_validate(struct devlink *devlink, u32 id, in nfp_devlink_param_u8_validate() 229 struct devlink *devlink = priv_to_devlink(pf); in nfp_devlink_params_register() local
|
D | nfp_shared_buf.c | 80 struct devlink *devlink = priv_to_devlink(pf); in nfp_shared_buf_register() local 143 struct devlink *devlink = priv_to_devlink(pf); in nfp_shared_buf_unregister() local
|
/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_devlink.c | 22 int qed_report_fatal_error(struct devlink *devlink, enum qed_hw_err_type err_type) in qed_report_fatal_error() 98 void qed_fw_reporters_create(struct devlink *devlink) in qed_fw_reporters_create() 111 void qed_fw_reporters_destroy(struct devlink *devlink) in qed_fw_reporters_destroy() 153 static int qed_devlink_info_get(struct devlink *devlink, in qed_devlink_info_get() 247 void qed_devlink_unregister(struct devlink *devlink) in qed_devlink_unregister()
|
/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_devlink.c | 172 static int ice_devlink_info_get(struct devlink *devlink, in ice_devlink_info_get() 245 ice_devlink_flash_update(struct devlink *devlink, in ice_devlink_flash_update() 319 struct devlink *devlink; in ice_allocate_pf() local 344 struct devlink *devlink = priv_to_devlink(pf); in ice_devlink_register() local 380 struct devlink *devlink; in ice_devlink_create_port() local 440 static int ice_devlink_nvm_snapshot(struct devlink *devlink, in ice_devlink_nvm_snapshot() 497 ice_devlink_devcaps_snapshot(struct devlink *devlink, in ice_devlink_devcaps_snapshot() 547 struct devlink *devlink = priv_to_devlink(pf); in ice_devlink_init_regions() local
|
D | ice_fw_update.c | 367 struct devlink *devlink; in ice_write_nvm_module() local 442 struct devlink *devlink; in ice_erase_nvm_module() local 721 struct devlink *devlink = priv_to_devlink(pf); in ice_check_for_pending_update() local
|
/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_cnt.c | 55 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_counter_sub_pools_init() local 100 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_counter_sub_pools_fini() local 123 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_counter_pool_init() local 173 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_counter_pool_fini() local 248 struct devlink *devlink = priv_to_devlink(mlxsw_core); in mlxsw_sp_counter_resources_register() local
|
D | spectrum_dpipe.c | 296 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_erif_table_init() local 306 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_erif_table_fini() local 749 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host4_table_init() local 776 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host4_table_fini() local 826 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host6_table_init() local 853 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host6_table_fini() local 1229 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_adj_table_init() local 1256 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_adj_table_fini() local 1264 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_init() local 1301 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_fini() local
|
D | core.c | 1132 static int mlxsw_core_devlink_param_fw_load_policy_validate(struct devlink *devlink, u32 id, in mlxsw_core_devlink_param_fw_load_policy_validate() 1152 struct devlink *devlink = priv_to_devlink(mlxsw_core); in mlxsw_core_fw_params_register() local 1172 static int mlxsw_devlink_port_split(struct devlink *devlink, in mlxsw_devlink_port_split() 1189 static int mlxsw_devlink_port_unsplit(struct devlink *devlink, in mlxsw_devlink_port_unsplit() 1206 mlxsw_devlink_sb_pool_get(struct devlink *devlink, in mlxsw_devlink_sb_pool_get() 1220 mlxsw_devlink_sb_pool_set(struct devlink *devlink, in mlxsw_devlink_sb_pool_set() 1323 static int mlxsw_devlink_sb_occ_snapshot(struct devlink *devlink, in mlxsw_devlink_sb_occ_snapshot() 1334 static int mlxsw_devlink_sb_occ_max_clear(struct devlink *devlink, in mlxsw_devlink_sb_occ_max_clear() 1380 mlxsw_devlink_info_get(struct devlink *devlink, struct devlink_info_req *req, in mlxsw_devlink_info_get() 1420 mlxsw_devlink_core_bus_device_reload_down(struct devlink *devlink, in mlxsw_devlink_core_bus_device_reload_down() [all …]
|
D | spectrum_trap.c | 88 struct devlink *devlink; in mlxsw_sp_rx_drop_listener() local 114 struct devlink *devlink; in mlxsw_sp_rx_acl_drop_listener() local 141 struct devlink *devlink; in __mlxsw_sp_rx_no_mark_listener() local 1137 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_trap_policers_init() local 1168 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_trap_policers_fini() local 1220 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_trap_groups_init() local 1250 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_trap_groups_fini() local 1308 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_traps_init() local 1338 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_traps_fini() local
|
D | spectrum1_kvdl.c | 212 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp1_kvdl_part_init() local 335 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp1_kvdl_init() local 363 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp1_kvdl_fini() local 388 struct devlink *devlink = priv_to_devlink(mlxsw_core); in mlxsw_sp1_kvdl_resources_register() local
|
D | spectrum_policer.c | 83 struct devlink *devlink; in mlxsw_sp_policer_single_rate_family_init() local 108 struct devlink *devlink = priv_to_devlink(family->mlxsw_sp->core); in mlxsw_sp_policer_single_rate_family_fini() local 407 struct devlink *devlink = priv_to_devlink(mlxsw_core); in mlxsw_sp_policer_resources_register() local
|
/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_devlink.c | 283 static int hinic_devlink_flash_update(struct devlink *devlink, in hinic_devlink_flash_update() 311 void hinic_devlink_free(struct devlink *devlink) in hinic_devlink_free() 318 struct devlink *devlink = priv_to_devlink(priv); in hinic_devlink_register() local 325 struct devlink *devlink = priv_to_devlink(priv); in hinic_devlink_unregister() local 560 struct devlink *devlink = priv_to_devlink(priv); in hinic_health_reporters_create() local
|
/linux-5.10/include/trace/events/ |
D | devlink.h | 223 static inline void trace_devlink_hwmsg(const struct devlink *devlink, in trace_devlink_hwmsg() 229 static inline void trace_devlink_hwerr(const struct devlink *devlink, in trace_devlink_hwerr()
|
/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth-devlink.c | 33 static int dpaa2_eth_dl_info_get(struct devlink *devlink, in dpaa2_eth_dl_info_get() 116 static int dpaa2_eth_dl_trap_init(struct devlink *devlink, in dpaa2_eth_dl_trap_init() 133 static int dpaa2_eth_dl_trap_action_set(struct devlink *devlink, in dpaa2_eth_dl_trap_action_set() 146 static int dpaa2_eth_dl_trap_group_action_set(struct devlink *devlink, in dpaa2_eth_dl_trap_group_action_set()
|
/linux-5.10/include/net/ |
D | devlink.h | 33 struct devlink { struct 43 struct devlink_dpipe_headers *dpipe_headers; argument 47 const struct devlink_ops *ops; argument 49 struct devlink_dev_stats stats; argument 52 struct mutex lock; /* Serializes access to devlink instance specific objects such as argument 70 * struct devlink_port_pci_pf_attrs - devlink port's PCI PF attributes argument 123 struct devlink *devlink; member 1350 static inline void *devlink_priv(struct devlink *devlink) in devlink_priv()
|
/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | crdump.c | 170 struct devlink *devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_crdump_collect() local 221 struct devlink *devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_crdump_init() local
|
D | main.c | 181 static int mlx4_devlink_ierr_reset_get(struct devlink *devlink, u32 id, in mlx4_devlink_ierr_reset_get() 188 static int mlx4_devlink_ierr_reset_set(struct devlink *devlink, u32 id, in mlx4_devlink_ierr_reset_set() 195 static int mlx4_devlink_crdump_snapshot_get(struct devlink *devlink, u32 id, in mlx4_devlink_crdump_snapshot_get() 205 static int mlx4_devlink_crdump_snapshot_set(struct devlink *devlink, u32 id, in mlx4_devlink_crdump_snapshot_set() 216 mlx4_devlink_max_macs_validate(struct devlink *devlink, u32 id, in mlx4_devlink_max_macs_validate() 263 static void mlx4_devlink_set_params_init_values(struct devlink *devlink) in mlx4_devlink_set_params_init_values() 3026 struct devlink *devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_init_port_info() local 3902 static void mlx4_devlink_param_load_driverinit_values(struct devlink *devlink) in mlx4_devlink_param_load_driverinit_values() 3948 static int mlx4_devlink_reload_down(struct devlink *devlink, bool netns_change, in mlx4_devlink_reload_down() 3967 static int mlx4_devlink_reload_up(struct devlink *devlink, enum devlink_reload_action action, in mlx4_devlink_reload_up() [all …]
|
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | devlink.c | 8 struct devlink *devlink = priv_to_devlink(priv->mdev); in mlx5e_devlink_port_register() local
|
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | devlink_port.c | 75 struct devlink *devlink; in mlx5_esw_offloads_devlink_port_register() local
|