reserved_gids 43 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c ida_init(&dev->roce.reserved_gids.ida); reserved_gids 44 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.start = tblsz; reserved_gids 45 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.count = 0; reserved_gids 50 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c WARN_ON(!ida_is_empty(&dev->roce.reserved_gids.ida)); reserved_gids 51 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.start = 0; reserved_gids 52 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.count = 0; reserved_gids 53 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c ida_destroy(&dev->roce.reserved_gids.ida); reserved_gids 62 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c if (dev->roce.reserved_gids.start < count) { reserved_gids 67 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c if (dev->roce.reserved_gids.count + count > MLX5_MAX_RESERVED_GIDS) { reserved_gids 72 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.start -= count; reserved_gids 73 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.count += count; reserved_gids 75 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.count, reserved_gids 76 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.start); reserved_gids 83 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c WARN(count > dev->roce.reserved_gids.count, "Unreserving %u GIDs when only %u reserved", reserved_gids 84 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c count, dev->roce.reserved_gids.count); reserved_gids 86 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.start += count; reserved_gids 87 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.count -= count; reserved_gids 89 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.count, reserved_gids 90 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.start); reserved_gids 95 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c int end = dev->roce.reserved_gids.start + reserved_gids 96 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.count; reserved_gids 99 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c index = ida_simple_get(&dev->roce.reserved_gids.ida, reserved_gids 100 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c dev->roce.reserved_gids.start, end, reserved_gids 113 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c ida_simple_remove(&dev->roce.reserved_gids.ida, gid_index); reserved_gids 118 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c return dev->roce.reserved_gids.count; reserved_gids 711 include/linux/mlx5/driver.h struct mlx5_rsvd_gids reserved_gids;