Searched refs:num_gids (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 1174 int num_gids, base, offset; in mlx4_reset_roce_port_gids() local 1177 num_gids = mlx4_get_slave_num_gids(dev, slave, port); in mlx4_reset_roce_port_gids() 1184 for (i = 0, offset = base; i < num_gids; offset++, i++) in mlx4_reset_roce_port_gids() 1343 int num_gids; in mlx4_common_set_port() local 1409 num_gids = mlx4_get_slave_num_gids(dev, slave, port); in mlx4_common_set_port() 1412 for (i = 0; i < num_gids; gid_entry_mbox++, i++) { in mlx4_common_set_port() 1417 for (j = i + 1; j < num_gids; gid_entry_mb1++, j++) { in mlx4_common_set_port() 1435 if (i >= base && i < base + num_gids) in mlx4_common_set_port() 1441 for (j = 0; j < num_gids; gid_entry_mbox++, j++) { in mlx4_common_set_port() 1458 for (i = 0, offset = base; i < num_gids; gid_entry_mbox++, offset++, i++) in mlx4_common_set_port()
|
D | resource_tracker.c | 3193 int num_gids; in verify_qp_parameters() local 3220 num_gids = mlx4_get_slave_num_gids(dev, slave, port); in verify_qp_parameters() 3222 num_gids = 1; in verify_qp_parameters() 3223 if (qp_ctx->pri_path.mgid_index >= num_gids) in verify_qp_parameters() 3229 num_gids = mlx4_get_slave_num_gids(dev, slave, port); in verify_qp_parameters() 3231 num_gids = 1; in verify_qp_parameters() 3232 if (qp_ctx->alt_path.mgid_index >= num_gids) in verify_qp_parameters()
|