Home
last modified time | relevance | path

Searched refs:dl_port_index (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddevlink.c56 unsigned int dl_port_index; in mlx5e_devlink_port_register() local
66 dl_port_index = mlx5_esw_vport_to_devlink_port_index(mdev, in mlx5e_devlink_port_register()
70 dl_port_index = mlx5_esw_vport_to_devlink_port_index(mdev, 0); in mlx5e_devlink_port_register()
76 dl_port_index); in mlx5e_devlink_port_register()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c158 unsigned int dl_port_index; in mlx5_esw_offloads_devlink_port_register() local
174 dl_port_index = mlx5_esw_vport_to_devlink_port_index(dev, vport_num); in mlx5_esw_offloads_devlink_port_register()
175 err = devl_port_register_with_ops(devlink, &dl_port->dl_port, dl_port_index, ops); in mlx5_esw_offloads_devlink_port_register()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c59 unsigned int dl_port_index; in mlx5_sf_alloc() local
83 dl_port_index = mlx5_esw_vport_to_devlink_port_index(table->dev, hw_fn_id); in mlx5_sf_alloc()
84 sf->port_index = dl_port_index; in mlx5_sf_alloc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h663 mlx5_esw_devlink_port_index_to_vport_num(unsigned int dl_port_index) in mlx5_esw_devlink_port_index_to_vport_num() argument
665 return dl_port_index & 0xffff; in mlx5_esw_devlink_port_index_to_vport_num()