Lines Matching defs:partner

159  * __agg_has_partner - see if we have a partner
162 * Return nonzero if aggregator has a partner (denoted by a non-zero ether
163 * address for the partner). Return 0 if not.
423 * newly received lacpdu. Parameter values for the partner carried in the
466 * the current partner operational parameter values and sets
472 struct port_params *partner = &port->partner_oper;
475 /* record the new parameter values for the partner
478 partner->port_number = ntohs(lacpdu->actor_port);
479 partner->port_priority = ntohs(lacpdu->actor_port_priority);
480 partner->system = lacpdu->actor_system;
481 partner->system_priority = ntohs(lacpdu->actor_system_priority);
482 partner->key = ntohs(lacpdu->actor_key);
483 partner->port_state = lacpdu->actor_state;
488 /* set the partner sync. to on if the partner is sync,
493 partner->port_state |= LACP_STATE_SYNCHRONIZATION;
495 "partner sync=1\n");
497 partner->port_state &= ~LACP_STATE_SYNCHRONIZATION;
499 "partner sync=0\n");
508 * This function records the default parameter values for the partner carried
509 * in the Partner Admin parameters as the current partner operational parameter
515 /* record the partner admin parameters */
532 * values for the ports partner. If one or more of the comparisons shows that
540 const struct port_params *partner = &port->partner_oper;
545 if (ntohs(lacpdu->actor_port) != partner->port_number ||
546 ntohs(lacpdu->actor_port_priority) != partner->port_priority ||
547 !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) ||
548 ntohs(lacpdu->actor_system_priority) != partner->system_priority ||
549 ntohs(lacpdu->actor_key) != partner->key ||
550 (lacpdu->actor_state & LACP_STATE_AGGREGATION) != (partner->port_state & LACP_STATE_AGGREGATION)) {
560 * This function updates the value of the selected variable, using the partner
562 * the corresponding operational parameter values for the partner. If one or
595 * received lacpdu. The parameter values for the partner carried in the
770 const struct port_params *partner = &port->partner_oper;
794 lacpdu->partner_system_priority = htons(partner->system_priority);
795 lacpdu->partner_system = partner->system;
796 lacpdu->partner_key = htons(partner->key);
797 lacpdu->partner_port_priority = htons(partner->port_priority);
798 lacpdu->partner_port = htons(partner->port_number);
799 lacpdu->partner_state = partner->port_state;
1304 * parameter from the partner state
1458 ((!MAC_ADDRESS_EQUAL(&(port->partner_oper.system), &(null_mac_addr)) && /* partner answers */
1555 * 3a. If current agg partner replied, and best agg partner did not,
1558 * 3b. If current agg partner did not reply and best agg partner
1561 * 4. Therefore, current and best both have partner replies or
1681 * partner) or if both the best and active don't have an
1682 * answering partner.
1724 /* check if any partner replies */
1726 net_warn_ratelimited("%s: Warning: No 802.3ad response from the link partner for any adapters in the bond\n",
2094 /* Tell the partner that this port is not suitable for aggregation */
2451 * (a) A full duplex port can participate in LACP with partner.