Changeset View
Changeset View
Standalone View
Standalone View
sys/net/ieee8023ad_lacp.c
Show First 20 Lines • Show All 1,083 Lines • ▼ Show 20 Lines | #ifdef NUMA | ||||
for (i = 0; i < MAXMEMDOM; i++) { | for (i = 0; i < MAXMEMDOM; i++) { | ||||
if (p->pm_numa[i].count != 0) | if (p->pm_numa[i].count != 0) | ||||
p->pm_num_dom++; | p->pm_num_dom++; | ||||
} | } | ||||
#endif | #endif | ||||
speed = lacp_aggregator_bandwidth(la); | speed = lacp_aggregator_bandwidth(la); | ||||
} | } | ||||
sc->sc_ifp->if_baudrate = speed; | sc->sc_ifp->if_baudrate = speed; | ||||
EVENTHANDLER_INVOKE(ifnet_event, sc->sc_ifp, | |||||
IFNET_EVENT_UPDATE_BAUDRATE); | |||||
/* switch the active portmap over */ | /* switch the active portmap over */ | ||||
atomic_store_rel_int(&lsc->lsc_activemap, newmap); | atomic_store_rel_int(&lsc->lsc_activemap, newmap); | ||||
LACP_DPRINTF((NULL, "Set table %d with %d ports\n", | LACP_DPRINTF((NULL, "Set table %d with %d ports\n", | ||||
lsc->lsc_activemap, | lsc->lsc_activemap, | ||||
lsc->lsc_pmap[lsc->lsc_activemap].pm_count)); | lsc->lsc_pmap[lsc->lsc_activemap].pm_count)); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,108 Lines • Show Last 20 Lines |