Lines Matching full:partner

162  * __agg_has_partner - see if we have a partner
165 * Return nonzero if aggregator has a partner (denoted by a non-zero ether
166 * address for the partner). Return 0 if not.
489 * newly received lacpdu. Parameter values for the partner carried in the
532 * the current partner operational parameter values and sets
538 struct port_params *partner = &port->partner_oper; in __record_pdu() local
541 /* record the new parameter values for the partner in __record_pdu()
544 partner->port_number = ntohs(lacpdu->actor_port); in __record_pdu()
545 partner->port_priority = ntohs(lacpdu->actor_port_priority); in __record_pdu()
546 partner->system = lacpdu->actor_system; in __record_pdu()
547 partner->system_priority = ntohs(lacpdu->actor_system_priority); in __record_pdu()
548 partner->key = ntohs(lacpdu->actor_key); in __record_pdu()
549 partner->port_state = lacpdu->actor_state; in __record_pdu()
554 /* set the partner sync. to on if the partner is sync, in __record_pdu()
559 partner->port_state |= LACP_STATE_SYNCHRONIZATION; in __record_pdu()
561 "partner sync=1\n"); in __record_pdu()
563 partner->port_state &= ~LACP_STATE_SYNCHRONIZATION; in __record_pdu()
565 "partner sync=0\n"); in __record_pdu()
574 * This function records the default parameter values for the partner carried
575 * in the Partner Admin parameters as the current partner operational parameter
581 /* record the partner admin parameters */ in __record_default()
598 * values for the ports partner. If one or more of the comparisons shows that
606 const struct port_params *partner = &port->partner_oper; in __update_selected() local
611 if (ntohs(lacpdu->actor_port) != partner->port_number || in __update_selected()
612 ntohs(lacpdu->actor_port_priority) != partner->port_priority || in __update_selected()
613 !MAC_ADDRESS_EQUAL(&lacpdu->actor_system, &partner->system) || in __update_selected()
614 ntohs(lacpdu->actor_system_priority) != partner->system_priority || in __update_selected()
615 ntohs(lacpdu->actor_key) != partner->key || in __update_selected()
616 …(lacpdu->actor_state & LACP_STATE_AGGREGATION) != (partner->port_state & LACP_STATE_AGGREGATION)) { in __update_selected()
623 * __update_default_selected - update a port's Selected variable from Partner
626 * This function updates the value of the selected variable, using the partner
628 * the corresponding operational parameter values for the partner. If one or
661 * received lacpdu. The parameter values for the partner carried in the
845 const struct port_params *partner = &port->partner_oper; in __update_lacpdu_from_port() local
869 lacpdu->partner_system_priority = htons(partner->system_priority); in __update_lacpdu_from_port()
870 lacpdu->partner_system = partner->system; in __update_lacpdu_from_port()
871 lacpdu->partner_key = htons(partner->key); in __update_lacpdu_from_port()
872 lacpdu->partner_port_priority = htons(partner->port_priority); in __update_lacpdu_from_port()
873 lacpdu->partner_port = htons(partner->port_number); in __update_lacpdu_from_port()
874 lacpdu->partner_state = partner->port_state; in __update_lacpdu_from_port()
1433 * parameter from the partner state in ad_periodic_machine()
1587 ((__agg_has_partner(aggregator) && /* partner answers */ in ad_port_selection_logic()
1685 * 3a. If current agg partner replied, and best agg partner did not, in ad_agg_selection_test()
1688 * 3b. If current agg partner did not reply and best agg partner in ad_agg_selection_test()
1691 * 4. Therefore, current and best both have partner replies or in ad_agg_selection_test()
1811 * partner) or if both the best and active don't have an in ad_agg_selection_logic()
1812 * answering partner. in ad_agg_selection_logic()
1854 /* check if any partner replies */ in ad_agg_selection_logic()
1856 …net_warn_ratelimited("%s: Warning: No 802.3ad response from the link partner for any adapters in t… in ad_agg_selection_logic()
2253 /* Tell the partner that this port is not suitable for aggregation */ in bond_3ad_unbind_slave()
2610 * (a) A full duplex port can participate in LACP with partner.