Searched refs:found_ix (Results 1 – 1 of 1) sorted by relevance
1861 int i, found_ix = -1; in mlx4_get_slave_from_roce_gid() local1877 found_ix = i; in mlx4_get_slave_from_roce_gid()1882 if (found_ix >= 0) { in mlx4_get_slave_from_roce_gid()1886 if (found_ix < MLX4_ROCE_PF_GIDS) in mlx4_get_slave_from_roce_gid()1888 else if (found_ix < MLX4_ROCE_PF_GIDS + (vf_gids % num_vfs) * in mlx4_get_slave_from_roce_gid()1890 slave_gid = ((found_ix - MLX4_ROCE_PF_GIDS) / in mlx4_get_slave_from_roce_gid()1894 ((found_ix - MLX4_ROCE_PF_GIDS - in mlx4_get_slave_from_roce_gid()1952 return (found_ix >= 0) ? 0 : -EINVAL; in mlx4_get_slave_from_roce_gid()