Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
Show First 20 Lines • Show All 494 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
struct mlx4_port_gid_table { | struct mlx4_port_gid_table { | ||||
struct gid_entry gids[MLX4_MAX_PORT_GIDS]; | struct gid_entry gids[MLX4_MAX_PORT_GIDS]; | ||||
}; | }; | ||||
struct mlx4_ib_iboe { | struct mlx4_ib_iboe { | ||||
spinlock_t lock; | spinlock_t lock; | ||||
struct net_device *netdevs[MLX4_MAX_PORTS]; | struct ifnet *netdevs[MLX4_MAX_PORTS]; | ||||
atomic64_t mac[MLX4_MAX_PORTS]; | atomic64_t mac[MLX4_MAX_PORTS]; | ||||
struct notifier_block nb; | struct notifier_block nb; | ||||
struct mlx4_port_gid_table gids[MLX4_MAX_PORTS]; | struct mlx4_port_gid_table gids[MLX4_MAX_PORTS]; | ||||
}; | }; | ||||
struct pkey_mgt { | struct pkey_mgt { | ||||
u8 virt2phys_pkey[MLX4_MFUNC_MAX][MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS]; | u8 virt2phys_pkey[MLX4_MFUNC_MAX][MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS]; | ||||
u16 phys_pkey_cache[MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS]; | u16 phys_pkey_cache[MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS]; | ||||
▲ Show 20 Lines • Show All 388 Lines • Show Last 20 Lines |