Searched refs:vf_gids (Results 1 – 1 of 1) sorted by relevance
1019 int vf_gids = MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS; in mlx4_get_slave_from_roce_gid() local1034 else if (found_ix < MLX4_ROCE_PF_GIDS + (vf_gids % dev->num_vfs) * in mlx4_get_slave_from_roce_gid()1035 (vf_gids / dev->num_vfs + 1)) in mlx4_get_slave_from_roce_gid()1037 (vf_gids / dev->num_vfs + 1)) + 1; in mlx4_get_slave_from_roce_gid()1041 ((vf_gids % dev->num_vfs) * ((vf_gids / dev->num_vfs + 1)))) / in mlx4_get_slave_from_roce_gid()1042 (vf_gids / dev->num_vfs)) + vf_gids % dev->num_vfs + 1; in mlx4_get_slave_from_roce_gid()