Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1862 int vf_gids = MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS; in mlx4_get_slave_from_roce_gid() local
1888 else if (found_ix < MLX4_ROCE_PF_GIDS + (vf_gids % num_vfs) * in mlx4_get_slave_from_roce_gid()
1889 (vf_gids / num_vfs + 1)) in mlx4_get_slave_from_roce_gid()
1891 (vf_gids / num_vfs + 1)) + 1; in mlx4_get_slave_from_roce_gid()
1895 ((vf_gids % num_vfs) * ((vf_gids / num_vfs + 1)))) / in mlx4_get_slave_from_roce_gid()
1896 (vf_gids / num_vfs)) + vf_gids % num_vfs + 1; in mlx4_get_slave_from_roce_gid()