| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | devlink.c | 18 devlink_net(priv_to_devlink(mdev)), dev); in mlx5e_create_devlink() 22 err = devl_nested_devlink_set(priv_to_devlink(mdev), devlink); in mlx5e_create_devlink() 34 struct devlink *devlink = priv_to_devlink(mlx5e_dev); in mlx5e_destroy_devlink() 53 struct devlink *devlink = priv_to_devlink(mlx5e_dev); in mlx5e_devlink_port_register()
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| A D | ionic_devlink.c | 72 struct devlink *dl = priv_to_devlink(ionic); in ionic_devlink_free() 79 struct devlink *dl = priv_to_devlink(ionic); in ionic_devlink_register() 98 struct devlink *dl = priv_to_devlink(ionic); in ionic_devlink_unregister()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| A D | i40e_devlink.c | 155 struct devlink *devlink = priv_to_devlink(pf); in i40e_free_pf() 168 devlink_register(priv_to_devlink(pf)); in i40e_devlink_register() 179 devlink_unregister(priv_to_devlink(pf)); in i40e_devlink_unregister() 208 struct devlink *devlink = priv_to_devlink(pf); in i40e_devlink_create_port()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_cnt.c | 55 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_counter_sub_pools_init() 100 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_counter_sub_pools_fini() 123 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_counter_pool_init() 170 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_counter_pool_fini() 245 struct devlink *devlink = priv_to_devlink(mlxsw_core); in mlxsw_sp_counter_resources_register()
|
| A D | spectrum_dpipe.c | 296 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_erif_table_init() 306 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_erif_table_fini() 749 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host4_table_init() 776 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host4_table_fini() 826 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host6_table_init() 853 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host6_table_fini() 1245 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_adj_table_init() 1272 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_adj_table_fini() 1280 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_init() 1309 devl_dpipe_headers_unregister(priv_to_devlink(mlxsw_sp->core)); in mlxsw_sp_dpipe_init() [all …]
|
| A D | spectrum1_kvdl.c | 212 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp1_kvdl_part_init() 334 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp1_kvdl_init() 362 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp1_kvdl_fini() 387 struct devlink *devlink = priv_to_devlink(mlxsw_core); in mlxsw_sp1_kvdl_resources_register()
|
| A D | spectrum_port_range.c | 183 devl_resource_occ_get_register(priv_to_devlink(core), in mlxsw_sp_port_range_init() 195 devl_resource_occ_get_unregister(priv_to_devlink(mlxsw_sp->core), in mlxsw_sp_port_range_fini()
|
| A D | spectrum_policer.c | 96 devlink = priv_to_devlink(core); in mlxsw_sp_policer_single_rate_family_init() 108 struct devlink *devlink = priv_to_devlink(family->mlxsw_sp->core); in mlxsw_sp_policer_single_rate_family_fini() 407 struct devlink *devlink = priv_to_devlink(mlxsw_core); in mlxsw_sp_policer_resources_register()
|
| A D | spectrum_trap.c | 104 devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_rx_drop_listener() 130 devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_rx_acl_drop_listener() 157 devlink = priv_to_devlink(mlxsw_sp->core); in __mlxsw_sp_rx_no_mark_listener() 1315 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_trap_policers_init() 1346 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_trap_policers_fini() 1398 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_trap_groups_init() 1427 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_trap_groups_fini() 1485 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_traps_init() 1515 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_traps_fini()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_devlink.c | 118 struct devlink *devlink = priv_to_devlink(fbd); in fbnic_devlink_free() 153 struct devlink *devlink = priv_to_devlink(fbd); in fbnic_devlink_register() 160 struct devlink *devlink = priv_to_devlink(fbd); in fbnic_devlink_unregister()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | dev.c | 136 err = devl_param_driverinit_value_get(priv_to_devlink(dev), in is_vnet_enabled() 201 err = devl_param_driverinit_value_get(priv_to_devlink(dev), in is_ib_enabled() 355 devl_assert_locked(priv_to_devlink(dev)); in mlx5_attach_device() 413 devl_assert_locked(priv_to_devlink(dev)); in mlx5_detach_device() 451 devl_assert_locked(priv_to_devlink(dev)); in mlx5_register_device() 464 devl_assert_locked(priv_to_devlink(dev)); in mlx5_unregister_device()
|
| A D | main.c | 519 struct devlink *devlink = priv_to_devlink(dev); in max_uc_list_get_devlink_param() 534 struct devlink *devlink = priv_to_devlink(dev); in mlx5_is_roce_on() 1538 struct devlink *devlink = priv_to_devlink(dev); in mlx5_init_one() 1552 struct devlink *devlink = priv_to_devlink(dev); in mlx5_uninit_one() 1585 devl_assert_locked(priv_to_devlink(dev)); in mlx5_load_one_devl_locked() 1629 struct devlink *devlink = priv_to_devlink(dev); in mlx5_load_one() 1640 devl_assert_locked(priv_to_devlink(dev)); in mlx5_unload_one_devl_locked() 1660 struct devlink *devlink = priv_to_devlink(dev); in mlx5_unload_one() 1706 struct devlink *devlink = priv_to_devlink(dev); in mlx5_init_one_light() 1744 struct devlink *devlink = priv_to_devlink(dev); in mlx5_uninit_one_light() [all …]
|
| A D | devlink.h | 62 err = devl_param_driverinit_value_get(priv_to_devlink(dev), in mlx5_core_is_eth_enabled()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| A D | nfp_app.h | 179 devl_assert_locked(priv_to_devlink(app->pf)); in assert_nfp_app_locked() 184 return devl_lock_is_held(priv_to_devlink(app->pf)); in nfp_app_is_locked() 348 trace_devlink_hwmsg(priv_to_devlink(app->pf), false, 0, in __nfp_app_ctrl_tx() 356 trace_devlink_hwmsg(priv_to_devlink(app->pf), false, 0, in nfp_app_ctrl_tx() 364 trace_devlink_hwmsg(priv_to_devlink(app->pf), true, 0, in nfp_app_ctrl_rx() 376 trace_devlink_hwmsg(priv_to_devlink(app->pf), true, 0, data, len); in nfp_app_ctrl_rx_raw()
|
| A D | nfp_net_main.c | 299 struct devlink *devlink = priv_to_devlink(pf); in nfp_net_pf_app_init() 347 struct devlink *devlink = priv_to_devlink(pf); in nfp_net_pf_app_clean() 594 struct devlink *devlink = priv_to_devlink(pf); in nfp_net_refresh_port_table_sync() 649 struct devlink *devlink = priv_to_devlink(pf); in nfp_net_refresh_vnics() 692 struct devlink *devlink = priv_to_devlink(pf); in nfp_net_pci_probe() 808 struct devlink *devlink = priv_to_devlink(pf); in nfp_net_pci_remove() 811 devlink_unregister(priv_to_devlink(pf)); in nfp_net_pci_remove()
|
| A D | nfp_shared_buf.c | 80 struct devlink *devlink = priv_to_devlink(pf); in nfp_shared_buf_register() 143 struct devlink *devlink = priv_to_devlink(pf); in nfp_shared_buf_unregister()
|
| A D | devlink_param.c | 230 struct devlink *devlink = priv_to_devlink(pf); in nfp_devlink_params_register() 249 devl_params_unregister(priv_to_devlink(pf), nfp_devlink_params, in nfp_devlink_params_unregister()
|
| /linux/drivers/net/netdevsim/ |
| A D | dev.c | 62 !devl_lock_is_held(priv_to_devlink(nsim_dev))); in nsim_dev_get_vfs() 106 devlink = priv_to_devlink(nsim_dev); in nsim_dev_take_snapshot_write() 275 devl_lock(priv_to_devlink(nsim_dev)); in nsim_bus_dev_max_vfs_write() 285 devl_unlock(priv_to_devlink(nsim_dev)); in nsim_bus_dev_max_vfs_write() 838 if (!devl_trylock(priv_to_devlink(nsim_dev))) { in nsim_dev_trap_report_work() 854 devl_unlock(priv_to_devlink(nsim_dev)); in nsim_dev_trap_report_work() 1467 devlink = priv_to_devlink(nsim_dev); in nsim_dev_reload_create() 1710 devl_lock(priv_to_devlink(nsim_dev)); in nsim_drv_port_add() 1715 devl_unlock(priv_to_devlink(nsim_dev)); in nsim_drv_port_add() 1726 devl_lock(priv_to_devlink(nsim_dev)); in nsim_drv_port_del() [all …]
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_devlink.c | 396 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_free() 403 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_register() 410 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_unregister() 418 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_port_register() 447 struct devlink *devlink = priv_to_devlink(sw); in prestera_devlink_traps_register() 585 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_traps_unregister()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| A D | crdump.c | 170 struct devlink *devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_crdump_collect() 221 struct devlink *devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_crdump_init()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | mlx5.h | 50 return devlink_net(priv_to_devlink(dev)); in mlx5_core_net()
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| A D | devlink_port.c | 332 devlink = priv_to_devlink(pf); in ice_devlink_create_pf_port() 467 devlink = priv_to_devlink(pf); in ice_devlink_create_vf_port() 517 devlink = priv_to_devlink(sf_dev->priv); in ice_devlink_create_sf_dev_port() 876 devlink = priv_to_devlink(pf); in ice_devlink_create_sf_port()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| A D | ice_sf_eth.c | 118 devlink = priv_to_devlink(priv); in ice_sf_dev_probe() 183 devlink = priv_to_devlink(sf_dev->priv); in ice_sf_dev_remove()
|
| A D | ice_eswitch.c | 513 struct devlink *devlink = priv_to_devlink(pf); in ice_eswitch_attach_vf() 566 struct devlink *devlink = priv_to_devlink(pf); in ice_eswitch_detach() 586 struct devlink *devlink = priv_to_devlink(pf); in ice_eswitch_detach_vf()
|
| A D | ice_fw_update.c | 412 devlink = priv_to_devlink(pf); in ice_write_nvm_module() 491 devlink = priv_to_devlink(pf); in ice_erase_nvm_module() 706 devlink = priv_to_devlink(pf); in ice_finalize_update() 909 struct devlink *devlink = priv_to_devlink(pf); in ice_cancel_pending_update()
|