Lines Matching refs:lag_ports
646 for (port = aggregator->lag_ports; in __agg_ports_are_ready()
669 for (port = aggregator->lag_ports; port; in __set_agg_ports_ready()
683 for (port = agg->lag_ports; port; in __agg_active_ports()
703 switch (__get_link_speed(aggregator->lag_ports)) { in __get_agg_bandwidth()
1403 for (curr_port = temp_aggregator->lag_ports; curr_port; in ad_port_selection_logic()
1412 temp_aggregator->lag_ports = in ad_port_selection_logic()
1435 if (!temp_aggregator->lag_ports) in ad_port_selection_logic()
1456 if (!aggregator->lag_ports) { in ad_port_selection_logic()
1475 port->next_port_in_aggregator = aggregator->lag_ports; in ad_port_selection_logic()
1477 aggregator->lag_ports = port; in ad_port_selection_logic()
1519 port->aggregator->lag_ports = port; in ad_port_selection_logic()
1593 switch (__get_agg_selection_mode(curr->lag_ports)) { in ad_agg_selection_test()
1613 __get_agg_selection_mode(curr->lag_ports)); in ad_agg_selection_test()
1622 struct port *port = agg->lag_ports; in agg_device_up()
1627 for (port = agg->lag_ports; port; in agg_device_up()
1687 __get_agg_selection_mode(best->lag_ports) == BOND_AD_STABLE) { in ad_agg_selection_logic()
1693 if (active && active->lag_ports && in ad_agg_selection_logic()
1721 best->lag_ports, best->slave); in ad_agg_selection_logic()
1753 for (port = active->lag_ports; port; in ad_agg_selection_logic()
1769 for (port = active->lag_ports; port; in ad_agg_selection_logic()
1796 aggregator->lag_ports = NULL; in ad_clear_agg()
2116 if (aggregator->lag_ports) { in bond_3ad_unbind_slave()
2122 if ((aggregator->lag_ports != port) || in bond_3ad_unbind_slave()
2123 (aggregator->lag_ports->next_port_in_aggregator)) { in bond_3ad_unbind_slave()
2130 if (!new_aggregator->lag_ports || in bond_3ad_unbind_slave()
2131 ((new_aggregator->lag_ports == port) && in bond_3ad_unbind_slave()
2132 !new_aggregator->lag_ports->next_port_in_aggregator)) in bond_3ad_unbind_slave()
2142 …w_aggregator) && ((!new_aggregator->lag_ports) || ((new_aggregator->lag_ports == port) && !new_agg… in bond_3ad_unbind_slave()
2147 if ((new_aggregator->lag_ports == port) && in bond_3ad_unbind_slave()
2161 new_aggregator->lag_ports = aggregator->lag_ports; in bond_3ad_unbind_slave()
2168 for (temp_port = aggregator->lag_ports; temp_port; in bond_3ad_unbind_slave()
2206 for (temp_port = temp_aggregator->lag_ports; temp_port; in bond_3ad_unbind_slave()
2216 temp_aggregator->lag_ports = temp_port->next_port_in_aggregator; in bond_3ad_unbind_slave()