Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
H A Dmlx4.h763 struct mlx4_roce_gid_entry roce_gids[MLX4_ROCE_MAX_GIDS];
/linux/include/linux/mlx4/
H A Ddevice.h64 #define MLX4_ROCE_MAX_GIDS 128 macro