Searched refs:found_ix (Results 1 – 1 of 1) sorted by relevance
1749 int i, found_ix = -1; in mlx4_get_slave_from_roce_gid() local1765 found_ix = i; in mlx4_get_slave_from_roce_gid()1770 if (found_ix >= 0) { in mlx4_get_slave_from_roce_gid()1774 if (found_ix < MLX4_ROCE_PF_GIDS) in mlx4_get_slave_from_roce_gid()1776 else if (found_ix < MLX4_ROCE_PF_GIDS + (vf_gids % num_vfs) * in mlx4_get_slave_from_roce_gid()1778 slave_gid = ((found_ix - MLX4_ROCE_PF_GIDS) / in mlx4_get_slave_from_roce_gid()1782 ((found_ix - MLX4_ROCE_PF_GIDS - in mlx4_get_slave_from_roce_gid()1840 return (found_ix >= 0) ? 0 : -EINVAL; in mlx4_get_slave_from_roce_gid()