Home
last modified time | relevance | path

Searched defs:devlink (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/netronome/nfp/
Dnfp_devlink.c94 nfp_devlink_port_split(struct devlink *devlink, unsigned int port_index, in nfp_devlink_port_split()
131 nfp_devlink_port_unsplit(struct devlink *devlink, unsigned int port_index) in nfp_devlink_port_unsplit()
163 static int nfp_devlink_eswitch_mode_get(struct devlink *devlink, u16 *mode) in nfp_devlink_eswitch_mode_get()
189 struct devlink *devlink; in nfp_devlink_port_register() local
Dnfp_main.c415 struct devlink *devlink; in nfp_pci_probe() local
544 struct devlink *devlink; in nfp_pci_remove() local
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dpipe.c305 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_erif_table_init() local
315 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_erif_table_fini() local
756 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host4_table_init() local
766 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host4_table_fini() local
814 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host6_table_init() local
824 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_host6_table_fini() local
832 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_init() local
863 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core); in mlxsw_sp_dpipe_fini() local
Dcore.c775 static int mlxsw_devlink_port_split(struct devlink *devlink, in mlxsw_devlink_port_split()
788 static int mlxsw_devlink_port_unsplit(struct devlink *devlink, in mlxsw_devlink_port_unsplit()
801 mlxsw_devlink_sb_pool_get(struct devlink *devlink, in mlxsw_devlink_sb_pool_get()
815 mlxsw_devlink_sb_pool_set(struct devlink *devlink, in mlxsw_devlink_sb_pool_set()
914 static int mlxsw_devlink_sb_occ_snapshot(struct devlink *devlink, in mlxsw_devlink_sb_occ_snapshot()
925 static int mlxsw_devlink_sb_occ_max_clear(struct devlink *devlink, in mlxsw_devlink_sb_occ_max_clear()
993 struct devlink *devlink; in mlxsw_core_bus_device_register() local
1085 struct devlink *devlink = priv_to_devlink(mlxsw_core); in mlxsw_core_bus_device_unregister() local
1646 struct devlink *devlink = priv_to_devlink(mlxsw_core); in mlxsw_core_port_init() local
Dspectrum_router.c310 struct devlink *devlink; in mlxsw_sp_rif_counters_alloc() local
1407 struct devlink *devlink; in mlxsw_sp_neigh_counter_should_alloc() local
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c909 static int mlx5_devlink_eswitch_check(struct devlink *devlink) in mlx5_devlink_eswitch_check()
925 int mlx5_devlink_eswitch_mode_set(struct devlink *devlink, u16 mode) in mlx5_devlink_eswitch_mode_set()
951 int mlx5_devlink_eswitch_mode_get(struct devlink *devlink, u16 *mode) in mlx5_devlink_eswitch_mode_get()
963 int mlx5_devlink_eswitch_inline_mode_set(struct devlink *devlink, u8 mode) in mlx5_devlink_eswitch_inline_mode_set()
1016 int mlx5_devlink_eswitch_inline_mode_get(struct devlink *devlink, u8 *mode) in mlx5_devlink_eswitch_inline_mode_get()
1065 int mlx5_devlink_eswitch_encap_mode_set(struct devlink *devlink, u8 encap) in mlx5_devlink_eswitch_encap_mode_set()
1108 int mlx5_devlink_eswitch_encap_mode_get(struct devlink *devlink, u8 *encap) in mlx5_devlink_eswitch_encap_mode_get()
Dmain.c1309 struct devlink *devlink; in init_one() local
1399 struct devlink *devlink = priv_to_devlink(dev); in remove_one() local
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c419 static int bnxt_dl_eswitch_mode_get(struct devlink *devlink, u16 *mode) in bnxt_dl_eswitch_mode_get()
427 static int bnxt_dl_eswitch_mode_set(struct devlink *devlink, u16 mode) in bnxt_dl_eswitch_mode_set()
/drivers/net/ethernet/mellanox/mlx4/
Dmain.c2976 struct devlink *devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_init_port_info() local
3839 struct devlink *devlink; in mlx4_init_one() local
3978 struct devlink *devlink = priv_to_devlink(priv); in mlx4_remove_one() local