Lines Matching defs:gids
1130 int gids;
1159 gids = MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS;
1161 if (slave_gid <= gids % vfs)
1162 return MLX4_ROCE_PF_GIDS + ((gids / vfs) + 1) * (slave_gid - 1);
1164 return MLX4_ROCE_PF_GIDS + (gids % vfs) +
1165 ((gids / vfs) * (slave_gid - 1));
1183 /* Zero-out gids belonging to that slave in the port GID table */
1188 /* Now, copy roce port gids table to mailbox for passing to FW */
1405 /* change to MULTIPLE entries: number of guest's gids
1406 * need a FOR-loop here over number of gids the guest has.
1407 * 1. Check no duplicates in gids passed by slave
1436 continue; /* don't compare to slave's current gids */
1462 /* Now, copy roce port gids table to current mailbox for passing to FW */