Lines Matching refs:agg
160 struct aggregator *agg; in __get_first_agg() local
168 agg = first_slave ? &(SLAVE_AD_INFO(first_slave)->aggregator) : NULL; in __get_first_agg()
171 return agg; in __get_first_agg()
181 static inline int __agg_has_partner(struct aggregator *agg) in __agg_has_partner() argument
183 return !is_zero_ether_addr(agg->partner_system.mac_addr_value); in __agg_has_partner()
1541 static int agg_device_up(const struct aggregator *agg) in agg_device_up() argument
1543 struct port *port = agg->lag_ports; in agg_device_up()
1578 static void ad_agg_selection_logic(struct aggregator *agg, in ad_agg_selection_logic() argument
1582 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
1588 origin = agg; in ad_agg_selection_logic()
1589 active = __get_active_agg(agg); in ad_agg_selection_logic()
1593 agg = &(SLAVE_AD_INFO(slave)->aggregator); in ad_agg_selection_logic()
1595 agg->is_active = 0; in ad_agg_selection_logic()
1597 if (agg->num_of_ports && agg_device_up(agg)) in ad_agg_selection_logic()
1598 best = ad_agg_selection_test(best, agg); in ad_agg_selection_logic()
1638 agg = &(SLAVE_AD_INFO(slave)->aggregator); in ad_agg_selection_logic()
1641 agg->aggregator_identifier, agg->num_of_ports, in ad_agg_selection_logic()
1642 agg->actor_oper_aggregator_key, in ad_agg_selection_logic()
1643 agg->partner_oper_aggregator_key, in ad_agg_selection_logic()
1644 agg->is_individual, agg->is_active); in ad_agg_selection_logic()