Lines Matching refs:gids
518 int gids;
521 gids = MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS;
526 if (slave <= gids % vfs)
527 return MLX4_ROCE_PF_GIDS + ((gids / vfs) + 1) * (slave - 1);
529 return MLX4_ROCE_PF_GIDS + (gids % vfs) + ((gids / vfs) * (slave - 1));
617 /* change to MULTIPLE entries: number of guest's gids
618 * need a FOR-loop here over number of gids the guest has.
619 * 1. Check no duplicates in gids passed by slave
646 continue; /* don't compare to slave's current gids */
671 /* Now, copy roce port gids table to current mailbox for passing to FW */