Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c35 pfnum = mlx5_get_dev_index(dev); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
113 pfnum = mlx5_get_dev_index(dev); in mlx5_esw_offloads_sf_devlink_port_attrs_set()
/linux/drivers/infiniband/hw/mlx5/
H A Dib_rep.c80 if (mlx5_get_dev_index(peer_dev) < mlx5_get_dev_index(dev)) in mlx5_ib_vport_rep_load()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddevlink.c60 attrs.phys.port_number = mlx5_get_dev_index(mdev); in mlx5e_devlink_port_register()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddpll.c372 mdpll->dpll_pin = dpll_pin_get(clock_id, mlx5_get_dev_index(mdev), in mlx5_dpll_probe()
H A Den_tc.c2134 if (peer_index != mlx5_get_dev_index(peer_flow->priv->mdev)) in mlx5e_tc_del_fdb_peer_flow()
2153 if (i == mlx5_get_dev_index(flow->priv->mdev)) in mlx5e_tc_del_fdb_peers_flow()
4587 int i = mlx5_get_dev_index(peer_esw->dev); in mlx5e_tc_add_fdb_peer_flow()
5514 if (i == mlx5_get_dev_index(esw->dev)) in mlx5e_tc_clean_fdb_peer_flows()
H A Deswitch_offloads.c1274 pfindex = mlx5_get_dev_index(peer_dev); in esw_add_fdb_peer_miss_rules()
1318 u16 peer_index = mlx5_get_dev_index(peer_dev); in esw_del_fdb_peer_miss_rules()
3145 pf_num = mlx5_get_dev_index(esw->dev); in mlx5_esw_match_metadata_alloc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c287 if (new_attr->pfnum != mlx5_get_dev_index(dev)) { in mlx5_sf_new_check_attr()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c1228 unsigned int fn = mlx5_get_dev_index(dev); in mlx5_ldev_add_netdev()
1260 unsigned int fn = mlx5_get_dev_index(dev); in mlx5_ldev_add_mdev()
/linux/include/linux/mlx5/
H A Ddriver.h1314 static inline int mlx5_get_dev_index(struct mlx5_core_dev *dev) in mlx5_get_dev_index() function