Lines Matching refs:aggrp
254 aggr_lacp_init_grp(aggr_grp_t *aggrp)
256 aggrp->aggr.PeriodicTimer = AGGR_LACP_TIMER_SHORT;
257 aggrp->aggr.ActorSystemPriority = (uint16_t)lacp_system_priority;
258 aggrp->aggr.CollectorMaxDelay = 10;
259 aggrp->lg_lacp_mode = AGGR_LACP_OFF;
260 aggrp->aggr.ready = B_FALSE;
269 aggr_grp_t *aggrp = portp->lp_grp;
272 ASSERT(aggrp->lg_mh == NULL || MAC_PERIM_HELD(aggrp->lg_mh));
285 pl->ActorAdminPortKey = aggrp->lg_key;
681 aggr_grp_t *aggrp = portp->lp_grp;
684 ASSERT(MAC_PERIM_HELD(aggrp->lg_mh));
696 htons(aggrp->aggr.ActorSystemPriority);
697 bcopy(aggrp->lg_addr, (uchar_t *)&lacp->actor_info.system_id,
721 lacp->collector_max_delay = htons(aggrp->aggr.CollectorMaxDelay);
745 aggr_grp_t *aggrp = portp->lp_grp;
750 ASSERT(MAC_PERIM_HELD(aggrp->lg_mh));
793 if ((pl->sm.selected == AGGR_SELECTED) && aggrp->aggr.ready) {
1242 aggr_grp_t *aggrp = portp->lp_grp;
1247 ASSERT(MAC_PERIM_HELD(aggrp->lg_mh));
1252 aggrp->aggr.ready = B_FALSE;
1267 aggrp->aggr.ready = B_FALSE;
1292 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) {
1305 aggrp->aggr.PartnerSystem = etherzeroaddr;
1306 aggrp->aggr.PartnerOperAggrKey = 0;
1320 &aggrp->aggr.PartnerSystem) != 0 ||
1321 (pl->PartnerOperKey != aggrp->aggr.PartnerOperAggrKey)) {
1323 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) {
1325 &aggrp->aggr.PartnerSystem) == 0 &&
1327 aggrp->aggr.PartnerOperAggrKey)) {
1329 aggrp->aggr.PartnerSystem =
1331 aggrp->aggr.PartnerOperAggrKey =
1339 aggrp->aggr.PartnerSystem = etherzeroaddr;
1340 aggrp->aggr.PartnerOperAggrKey = 0;
1350 (struct ether_addr *)&aggrp->lg_addr) == 0) {
1375 if (ether_cmp(&aggrp->aggr.PartnerSystem, ðerzeroaddr) == 0 &&
1376 (aggrp->aggr.PartnerOperAggrKey == 0)) {
1378 aggrp->aggr.PartnerSystem = pl->PartnerOperSystem;
1379 aggrp->aggr.PartnerOperAggrKey = pl->PartnerOperKey;
1386 for (tpp = aggrp->lg_ports; tpp; tpp =
1391 &aggrp->aggr.PartnerSystem) == 0 &&
1393 aggrp->aggr.PartnerOperAggrKey))
1398 &aggrp->aggr.PartnerSystem) != 0 ||
1399 (pl->PartnerOperKey != aggrp->aggr.PartnerOperAggrKey)) {
1410 aggrp->aggr.PartnerOperAggrKey);
1440 if (!aggrp->aggr.ready) {
1447 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) {
1462 if (aggrp->aggr.ready) {
1468 portp->lp_linkid, aggrp->aggr.ready, B_TRUE));
1469 aggrp->aggr.ready = B_TRUE;
1471 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next)
1826 aggr_grp_t *aggrp = portp->lp_grp;
1830 ASSERT(MAC_PERIM_HELD(aggrp->lg_mh));
1862 (struct ether_addr *)&aggrp->lg_addr) == 0) &&
1864 aggrp->aggr.ActorSystemPriority) &&
1958 aggr_grp_t *aggrp = portp->lp_grp;
1961 ASSERT(MAC_PERIM_HELD(aggrp->lg_mh));
1966 (ether_cmp(&aggrp->lg_addr,
1968 (aggrp->aggr.ActorSystemPriority !=