Searched refs:found_ix (Results 1 – 2 of 2) sorted by relevance
1018 int i, found_ix = -1; in mlx4_get_slave_from_roce_gid() local1026 found_ix = i; in mlx4_get_slave_from_roce_gid()1031 if (found_ix >= 0) { in mlx4_get_slave_from_roce_gid()1032 if (found_ix < MLX4_ROCE_PF_GIDS) in mlx4_get_slave_from_roce_gid()1034 else if (found_ix < MLX4_ROCE_PF_GIDS + (vf_gids % dev->num_vfs) * in mlx4_get_slave_from_roce_gid()1036 *slave_id = ((found_ix - MLX4_ROCE_PF_GIDS) / in mlx4_get_slave_from_roce_gid()1040 ((found_ix - MLX4_ROCE_PF_GIDS - in mlx4_get_slave_from_roce_gid()1045 return (found_ix >= 0) ? 0 : -EINVAL; in mlx4_get_slave_from_roce_gid()