Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/ieee8023ad_lacp.h
Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | enum lacp_mux_state { | ||||
LACP_MUX_WAITING, | LACP_MUX_WAITING, | ||||
LACP_MUX_ATTACHED, | LACP_MUX_ATTACHED, | ||||
LACP_MUX_COLLECTING, | LACP_MUX_COLLECTING, | ||||
LACP_MUX_DISTRIBUTING, | LACP_MUX_DISTRIBUTING, | ||||
}; | }; | ||||
#define LACP_MAX_PORTS 32 | #define LACP_MAX_PORTS 32 | ||||
struct lacp_numa { | |||||
int count; | |||||
struct lacp_port *map[LACP_MAX_PORTS]; | |||||
}; | |||||
struct lacp_portmap { | struct lacp_portmap { | ||||
int pm_count; | int pm_count; | ||||
int pm_num_dom; | |||||
struct lacp_numa pm_numa[MAXMEMDOM]; | |||||
struct lacp_port *pm_map[LACP_MAX_PORTS]; | struct lacp_port *pm_map[LACP_MAX_PORTS]; | ||||
}; | }; | ||||
struct lacp_port { | struct lacp_port { | ||||
TAILQ_ENTRY(lacp_port) lp_dist_q; | TAILQ_ENTRY(lacp_port) lp_dist_q; | ||||
LIST_ENTRY(lacp_port) lp_next; | LIST_ENTRY(lacp_port) lp_next; | ||||
struct lacp_softc *lp_lsc; | struct lacp_softc *lp_lsc; | ||||
struct lagg_port *lp_lagg; | struct lagg_port *lp_lagg; | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |