Home
last modified time | relevance | path

Searched refs:devlink_priv (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_devlink.c97 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_split()
129 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit()
157 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get()
167 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set()
175 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get()
182 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set()
Dnfp_main.c607 pf = devlink_priv(devlink); in nfp_pci_probe()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.h20 return ((struct bnxt_dl *)devlink_priv(dl))->bp; in bnxt_get_bp_from_dl()
30 struct bnxt_dl *bp_dl = devlink_priv(dl); in bnxt_link_bp_to_dl()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c734 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_port_split()
750 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_port_unsplit()
767 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_pool_get()
781 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_pool_set()
798 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_port_type_set()
814 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_port_pool_get()
829 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_port_pool_set()
846 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_tc_pool_bind_get()
864 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_tc_pool_bind_set()
879 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_occ_snapshot()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c1083 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_check()
1099 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_mode_set()
1125 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_mode_get()
1137 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_inline_mode_set()
1190 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_inline_mode_get()
1239 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_encap_mode_set()
1282 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_encap_mode_get()
Dmain.c1399 dev = devlink_priv(devlink); in init_one()
/Linux-v4.19/include/net/
Ddevlink.h461 static inline void *devlink_priv(struct devlink *devlink) in devlink_priv() function
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmain.c198 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_crdump_snapshot_get()
208 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_crdump_snapshot_set()
3883 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_param_load_driverinit_values()
3926 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_reload()
3957 priv = devlink_priv(devlink); in mlx4_init_one()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3088 priv = devlink_priv(devlink); in liquidio_eswitch_mode_get()
3103 priv = devlink_priv(devlink); in liquidio_eswitch_mode_set()
3721 lio_devlink = devlink_priv(devlink); in setup_nic_devices()