Searched refs:found_ix (Results 1 – 1 of 1) sorted by relevance
1182 int i, found_ix = -1; in mlx4_get_slave_from_roce_gid() local1198 found_ix = i; in mlx4_get_slave_from_roce_gid()1203 if (found_ix >= 0) { in mlx4_get_slave_from_roce_gid()1207 if (found_ix < MLX4_ROCE_PF_GIDS) in mlx4_get_slave_from_roce_gid()1209 else if (found_ix < MLX4_ROCE_PF_GIDS + (vf_gids % num_vfs) * in mlx4_get_slave_from_roce_gid()1211 slave_gid = ((found_ix - MLX4_ROCE_PF_GIDS) / in mlx4_get_slave_from_roce_gid()1215 ((found_ix - MLX4_ROCE_PF_GIDS - in mlx4_get_slave_from_roce_gid()1273 return (found_ix >= 0) ? 0 : -EINVAL; in mlx4_get_slave_from_roce_gid()