Lines Matching refs:sm_vars

463 		port->sm_vars |= AD_PORT_MATCHED;  in __choose_matched()
465 port->sm_vars &= ~AD_PORT_MATCHED; in __choose_matched()
500 if ((port->sm_vars & AD_PORT_MATCHED) && in __record_pdu()
560 port->sm_vars &= ~AD_PORT_SELECTED; in __update_selected()
593 port->sm_vars &= ~AD_PORT_SELECTED; in __update_default_selected()
649 if (!(port->sm_vars & AD_PORT_READY_N)) { in __agg_ports_are_ready()
672 port->sm_vars |= AD_PORT_READY; in __set_agg_ports_ready()
674 port->sm_vars &= ~AD_PORT_READY; in __set_agg_ports_ready()
933 if (port->sm_vars & AD_PORT_BEGIN) { in ad_mux_machine()
938 if ((port->sm_vars & AD_PORT_SELECTED) in ad_mux_machine()
939 || (port->sm_vars & AD_PORT_STANDBY)) in ad_mux_machine()
945 if (!(port->sm_vars & AD_PORT_SELECTED)) { in ad_mux_machine()
946 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
960 port->sm_vars |= AD_PORT_READY_N; in ad_mux_machine()
972 if ((port->sm_vars & AD_PORT_READY) in ad_mux_machine()
980 if ((port->sm_vars & AD_PORT_SELECTED) && in ad_mux_machine()
986 } else if (!(port->sm_vars & AD_PORT_SELECTED) || in ad_mux_machine()
987 (port->sm_vars & AD_PORT_STANDBY)) { in ad_mux_machine()
989 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
1003 if (!(port->sm_vars & AD_PORT_SELECTED) || in ad_mux_machine()
1004 (port->sm_vars & AD_PORT_STANDBY) || in ad_mux_machine()
1097 if (port->sm_vars & AD_PORT_BEGIN) { in ad_rx_machine()
1099 port->sm_vars |= AD_PORT_CHURNED; in ad_rx_machine()
1101 } else if (!(port->sm_vars & AD_PORT_BEGIN) && !port->is_enabled) in ad_rx_machine()
1108 port->sm_vars |= AD_PORT_CHURNED; in ad_rx_machine()
1130 (port->sm_vars & AD_PORT_LACP_ENABLED)) in ad_rx_machine()
1133 && ((port->sm_vars in ad_rx_machine()
1154 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in ad_rx_machine()
1156 port->sm_vars |= AD_PORT_LACP_ENABLED; in ad_rx_machine()
1157 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1164 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1167 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1170 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1181 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1186 port->sm_vars |= AD_PORT_CHURNED; in ad_rx_machine()
1191 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1221 if (port->sm_vars & AD_PORT_CHURNED) { in ad_churn_machine()
1222 port->sm_vars &= ~AD_PORT_CHURNED; in ad_churn_machine()
1264 if (port->ntt && (port->sm_vars & AD_PORT_LACP_ENABLED)) { in ad_tx_machine()
1300 …if (((port->sm_vars & AD_PORT_BEGIN) || !(port->sm_vars & AD_PORT_LACP_ENABLED) || !port->is_enabl… in ad_periodic_machine()
1394 if (port->sm_vars & AD_PORT_SELECTED) in ad_port_selection_logic()
1483 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1523 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1864 port->sm_vars = AD_PORT_BEGIN | AD_PORT_LACP_ENABLED; in ad_initialize_port()
2342 if (port->sm_vars & AD_PORT_BEGIN) in bond_3ad_state_machine_handler()
2343 port->sm_vars &= ~AD_PORT_BEGIN; in bond_3ad_state_machine_handler()
2464 port->sm_vars |= AD_PORT_LACP_ENABLED; in ad_update_actor_keys()
2466 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in ad_update_actor_keys()
2476 port->sm_vars |= AD_PORT_BEGIN; in ad_update_actor_keys()