Searched refs:mlx5_get_dev_index (Results 1 – 6 of 6) sorted by relevance
39 pfnum = mlx5_get_dev_index(dev); in mlx5_esw_dl_port_alloc()152 pfnum = mlx5_get_dev_index(dev); in mlx5_esw_devlink_sf_port_register()
28 attrs.phys.port_number = mlx5_get_dev_index(priv->mdev); in mlx5e_devlink_port_register()
332 if (new_attr->pfnum != mlx5_get_dev_index(dev)) { in mlx5_sf_new_check_attr()
1125 unsigned int fn = mlx5_get_dev_index(dev); in mlx5_ldev_add_netdev()1157 unsigned int fn = mlx5_get_dev_index(dev); in mlx5_ldev_add_mdev()
1266 static inline int mlx5_get_dev_index(struct mlx5_core_dev *dev) in mlx5_get_dev_index() function
2947 pf_num = mlx5_get_dev_index(esw->dev); in mlx5_esw_match_metadata_alloc()