Lines Matching refs:sm_vars

555 		if ((port->sm_vars & AD_PORT_MATCHED) && (lacpdu->actor_state & AD_STATE_SYNCHRONIZATION)) {  in __record_pdu()
614 port->sm_vars &= ~AD_PORT_SELECTED; in __update_selected()
644 port->sm_vars &= ~AD_PORT_SELECTED; in __update_default_selected()
683 port->sm_vars |= AD_PORT_MATCHED; in __choose_matched()
685 port->sm_vars &= ~AD_PORT_MATCHED; in __choose_matched()
766 if (!(port->sm_vars & AD_PORT_READY_N)) { in __agg_ports_are_ready()
788 port->sm_vars |= AD_PORT_READY; in __set_agg_ports_ready()
790 port->sm_vars &= ~AD_PORT_READY; in __set_agg_ports_ready()
995 if (port->sm_vars & AD_PORT_BEGIN) { in ad_mux_machine()
1000 …if ((port->sm_vars & AD_PORT_SELECTED) || (port->sm_vars & AD_PORT_STANDBY)) { // if SELECTED or S… in ad_mux_machine()
1006 if (!(port->sm_vars & AD_PORT_SELECTED)) { // if UNSELECTED in ad_mux_machine()
1007 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
1017 port->sm_vars |= AD_PORT_READY_N; in ad_mux_machine()
1025 if ((port->sm_vars & AD_PORT_READY) && !port->sm_mux_timer_counter) { in ad_mux_machine()
1031 …if ((port->sm_vars & AD_PORT_SELECTED) && (port->partner_oper_port_state & AD_STATE_SYNCHRONIZATIO… in ad_mux_machine()
1033 …} else if (!(port->sm_vars & AD_PORT_SELECTED) || (port->sm_vars & AD_PORT_STANDBY)) { // if UNS… in ad_mux_machine()
1034 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
1042 if (!(port->sm_vars & AD_PORT_SELECTED) || (port->sm_vars & AD_PORT_STANDBY) || in ad_mux_machine()
1120 if (port->sm_vars & AD_PORT_BEGIN) { in ad_rx_machine()
1124 …else if (!(port->sm_vars & AD_PORT_BEGIN) && !port->is_enabled && !(port->sm_vars & AD_PORT_MOVED)… in ad_rx_machine()
1148 if (port->sm_vars & AD_PORT_MOVED) { in ad_rx_machine()
1150 } else if (port->is_enabled && (port->sm_vars & AD_PORT_LACP_ENABLED)) { in ad_rx_machine()
1152 } else if (port->is_enabled && ((port->sm_vars & AD_PORT_LACP_ENABLED) == 0)) { in ad_rx_machine()
1169 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in ad_rx_machine()
1171 port->sm_vars |= AD_PORT_LACP_ENABLED; in ad_rx_machine()
1173 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1176 port->sm_vars &= ~AD_PORT_MOVED; in ad_rx_machine()
1182 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1185 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1188 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1196 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1204 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1248 if (port->ntt && (port->sm_vars & AD_PORT_LACP_ENABLED)) { in ad_tx_machine()
1276 …if (((port->sm_vars & AD_PORT_BEGIN) || !(port->sm_vars & AD_PORT_LACP_ENABLED) || !port->is_enabl… in ad_periodic_machine()
1360 if (port->sm_vars & AD_PORT_SELECTED) { in ad_port_selection_logic()
1427 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1459 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1709 port->sm_vars = 0x3; in ad_initialize_port()
1953 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in bond_3ad_bind_slave()
2167 if (port->sm_vars & AD_PORT_BEGIN) { in bond_3ad_state_machine_handler()
2168 port->sm_vars &= ~AD_PORT_BEGIN; in bond_3ad_state_machine_handler()
2253 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()
2320 port->sm_vars |= AD_PORT_BEGIN; in bond_3ad_handle_link_change()