Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c39 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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddevlink.c28 attrs.phys.port_number = mlx5_get_dev_index(priv->mdev); in mlx5e_devlink_port_register()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c332 if (new_attr->pfnum != mlx5_get_dev_index(dev)) { in mlx5_sf_new_check_attr()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c1125 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()
/linux-6.1.9/include/linux/mlx5/
Ddriver.h1266 static inline int mlx5_get_dev_index(struct mlx5_core_dev *dev) in mlx5_get_dev_index() function
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c2947 pf_num = mlx5_get_dev_index(esw->dev); in mlx5_esw_match_metadata_alloc()