Lines Matching defs:partner

163  * __agg_has_partner - see if we have a partner
166 * Return nonzero if aggregator has a partner (denoted by a non-zero ether
167 * address for the partner). Return 0 if not.
442 * newly received lacpdu. Parameter values for the partner carried in the
485 * the current partner operational parameter values and sets
491 struct port_params *partner = &port->partner_oper;
494 /* record the new parameter values for the partner
497 partner->port_number = ntohs(lacpdu->actor_port);
498 partner->port_priority = ntohs(lacpdu->actor_port_priority);
499 partner->system = lacpdu->actor_system;
500 partner->system_priority = ntohs(lacpdu->actor_system_priority);
501 partner->key = ntohs(lacpdu->actor_key);
502 partner->port_state = lacpdu->actor_state;
507 /* set the partner sync. to on if the partner is sync,
512 partner->port_state |= LACP_STATE_SYNCHRONIZATION;
514 "partner sync=1\n");
516 partner->port_state &= ~LACP_STATE_SYNCHRONIZATION;
518 "partner sync=0\n");
527 * This function records the default parameter values for the partner carried
528 * in the Partner Admin parameters as the current partner operational parameter
534 /* record the partner admin parameters */
551 * values for the ports partner. If one or more of the comparisons shows that
559 const struct port_params *partner = &port->partner_oper;
564 if (ntohs(lacpdu->actor_port) != partner->port_number ||
565 ntohs(lacpdu->actor_port_priority) != partner->port_priority ||
566 !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) ||
567 ntohs(lacpdu->actor_system_priority) != partner->system_priority ||
568 ntohs(lacpdu->actor_key) != partner->key ||
569 (lacpdu->actor_state & LACP_STATE_AGGREGATION) != (partner->port_state & LACP_STATE_AGGREGATION)) {
579 * This function updates the value of the selected variable, using the partner
581 * the corresponding operational parameter values for the partner. If one or
614 * received lacpdu. The parameter values for the partner carried in the
798 const struct port_params *partner = &port->partner_oper;
822 lacpdu->partner_system_priority = htons(partner->system_priority);
823 lacpdu->partner_system = partner->system;
824 lacpdu->partner_key = htons(partner->key);
825 lacpdu->partner_port_priority = htons(partner->port_priority);
826 lacpdu->partner_port = htons(partner->port_number);
827 lacpdu->partner_state = partner->port_state;
1333 * parameter from the partner state
1487 ((!MAC_ADDRESS_EQUAL(&(port->partner_oper.system), &(null_mac_addr)) && /* partner answers */
1585 * 3a. If current agg partner replied, and best agg partner did not,
1588 * 3b. If current agg partner did not reply and best agg partner
1591 * 4. Therefore, current and best both have partner replies or
1711 * partner) or if both the best and active don't have an
1712 * answering partner.
1754 /* check if any partner replies */
1756 net_warn_ratelimited("%s: Warning: No 802.3ad response from the link partner for any adapters in the bond\n",
2118 /* Tell the partner that this port is not suitable for aggregation */
2475 * (a) A full duplex port can participate in LACP with partner.