Home
last modified time | relevance | path

Searched refs:MLX4_ROCE_MAX_GIDS (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dport.c96 for (i = 0; i < MLX4_ROCE_MAX_GIDS; i++) in mlx4_init_roce_gid_table()
1123 if (slave_gid <= ((MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) % vfs)) in mlx4_get_slave_num_gids()
1124 return ((MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) / vfs) + 1; in mlx4_get_slave_num_gids()
1125 return (MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) / vfs; in mlx4_get_slave_num_gids()
1159 gids = MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS; in mlx4_get_base_gid_ix()
1190 for (i = 0; i < MLX4_ROCE_MAX_GIDS; gid_entry_mbox++, i++) in mlx4_reset_roce_port_gids()
1434 for (i = 0; i < MLX4_ROCE_MAX_GIDS; i++) { in mlx4_common_set_port()
1464 for (i = 0; i < MLX4_ROCE_MAX_GIDS; gid_entry_mbox++, i++) in mlx4_common_set_port()
1862 int vf_gids = MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS; in mlx4_get_slave_from_roce_gid()
1874 for (i = 0; i < MLX4_ROCE_MAX_GIDS; i++) { in mlx4_get_slave_from_roce_gid()
Dmlx4.h761 struct mlx4_roce_gid_entry roce_gids[MLX4_ROCE_MAX_GIDS];
/linux-6.1.9/include/linux/mlx4/
Ddevice.h63 #define MLX4_ROCE_MAX_GIDS 128 macro