Searched refs:vf_gids (Results 1 – 2 of 2) sorted by relevance
1862 int vf_gids = MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS; in mlx4_get_slave_from_roce_gid() local1888 else if (found_ix < MLX4_ROCE_PF_GIDS + (vf_gids % num_vfs) * in mlx4_get_slave_from_roce_gid()1889 (vf_gids / num_vfs + 1)) in mlx4_get_slave_from_roce_gid()1891 (vf_gids / num_vfs + 1)) + 1; in mlx4_get_slave_from_roce_gid()1895 ((vf_gids % num_vfs) * ((vf_gids / num_vfs + 1)))) / in mlx4_get_slave_from_roce_gid()1896 (vf_gids / num_vfs)) + vf_gids % num_vfs + 1; in mlx4_get_slave_from_roce_gid()
101 u32 vf_qps = 0, vf_srqs = 0, vf_cqs = 0, vf_mrws = 0, vf_gids = 0; in bnxt_re_set_resource_limits() local147 vf_gids = BNXT_RE_MAX_GID_PER_VF; in bnxt_re_set_resource_limits()150 rdev->qplib_ctx.vf_res.max_gid_per_vf = vf_gids; in bnxt_re_set_resource_limits()