Lines Matching refs:agg
161 struct aggregator *agg; in __get_first_agg() local
169 agg = first_slave ? &(SLAVE_AD_INFO(first_slave)->aggregator) : NULL; in __get_first_agg()
172 return agg; in __get_first_agg()
182 static inline int __agg_has_partner(struct aggregator *agg) in __agg_has_partner() argument
184 return !is_zero_ether_addr(agg->partner_system.mac_addr_value); in __agg_has_partner()
1540 static int agg_device_up(const struct aggregator *agg) in agg_device_up() argument
1542 struct port *port = agg->lag_ports; in agg_device_up()
1577 static void ad_agg_selection_logic(struct aggregator *agg, in ad_agg_selection_logic() argument
1581 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
1587 origin = agg; in ad_agg_selection_logic()
1588 active = __get_active_agg(agg); in ad_agg_selection_logic()
1592 agg = &(SLAVE_AD_INFO(slave)->aggregator); in ad_agg_selection_logic()
1594 agg->is_active = 0; in ad_agg_selection_logic()
1596 if (agg->num_of_ports && agg_device_up(agg)) in ad_agg_selection_logic()
1597 best = ad_agg_selection_test(best, agg); in ad_agg_selection_logic()
1637 agg = &(SLAVE_AD_INFO(slave)->aggregator); in ad_agg_selection_logic()
1640 agg->aggregator_identifier, agg->num_of_ports, in ad_agg_selection_logic()
1641 agg->actor_oper_aggregator_key, in ad_agg_selection_logic()
1642 agg->partner_oper_aggregator_key, in ad_agg_selection_logic()
1643 agg->is_individual, agg->is_active); in ad_agg_selection_logic()