Lines Matching refs:sm_vars
480 port->sm_vars |= AD_PORT_MATCHED; in __choose_matched()
482 port->sm_vars &= ~AD_PORT_MATCHED; in __choose_matched()
513 if ((port->sm_vars & AD_PORT_MATCHED) in __record_pdu()
567 port->sm_vars &= ~AD_PORT_SELECTED; in __update_selected()
599 port->sm_vars &= ~AD_PORT_SELECTED; in __update_default_selected()
682 if (!(port->sm_vars & AD_PORT_READY_N)) { in __agg_ports_are_ready()
705 port->sm_vars |= AD_PORT_READY; in __set_agg_ports_ready()
707 port->sm_vars &= ~AD_PORT_READY; in __set_agg_ports_ready()
906 if (port->sm_vars & AD_PORT_BEGIN) { in ad_mux_machine()
911 if ((port->sm_vars & AD_PORT_SELECTED) in ad_mux_machine()
912 || (port->sm_vars & AD_PORT_STANDBY)) in ad_mux_machine()
918 if (!(port->sm_vars & AD_PORT_SELECTED)) { // if UNSELECTED in ad_mux_machine()
919 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
930 port->sm_vars |= AD_PORT_READY_N; in ad_mux_machine()
937 if ((port->sm_vars & AD_PORT_READY) in ad_mux_machine()
943 …if ((port->sm_vars & AD_PORT_SELECTED) && (port->partner_oper.port_state & AD_STATE_SYNCHRONIZATIO… in ad_mux_machine()
945 …} else if (!(port->sm_vars & AD_PORT_SELECTED) || (port->sm_vars & AD_PORT_STANDBY)) { // if UNS… in ad_mux_machine()
946 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
954 if (!(port->sm_vars & AD_PORT_SELECTED) || (port->sm_vars & AD_PORT_STANDBY) || in ad_mux_machine()
1031 if (port->sm_vars & AD_PORT_BEGIN) in ad_rx_machine()
1035 else if (!(port->sm_vars & AD_PORT_BEGIN) in ad_rx_machine()
1036 && !port->is_enabled && !(port->sm_vars & AD_PORT_MOVED)) in ad_rx_machine()
1060 if (port->sm_vars & AD_PORT_MOVED) in ad_rx_machine()
1063 && (port->sm_vars in ad_rx_machine()
1067 && ((port->sm_vars in ad_rx_machine()
1086 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in ad_rx_machine()
1088 port->sm_vars |= AD_PORT_LACP_ENABLED; in ad_rx_machine()
1089 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1092 port->sm_vars &= ~AD_PORT_MOVED; in ad_rx_machine()
1098 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1101 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1104 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1112 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1121 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1155 if (port->ntt && (port->sm_vars & AD_PORT_LACP_ENABLED)) { in ad_tx_machine()
1187 …if (((port->sm_vars & AD_PORT_BEGIN) || !(port->sm_vars & AD_PORT_LACP_ENABLED) || !port->is_enabl… in ad_periodic_machine()
1273 if (port->sm_vars & AD_PORT_SELECTED) in ad_port_selection_logic()
1347 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1382 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1706 port->sm_vars = 0x3; in ad_initialize_port()
1927 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in bond_3ad_bind_slave()
2153 if (port->sm_vars & AD_PORT_BEGIN) in bond_3ad_state_machine_handler()
2154 port->sm_vars &= ~AD_PORT_BEGIN; in bond_3ad_state_machine_handler()
2252 port->sm_vars |= AD_PORT_BEGIN; in bond_3ad_adapter_speed_changed()
2280 port->sm_vars |= AD_PORT_BEGIN; in bond_3ad_adapter_duplex_changed()
2323 port->sm_vars |= AD_PORT_BEGIN; in bond_3ad_handle_link_change()