Lines Matching refs:sm_vars
232 if (!(port->sm_vars & AD_PORT_SELECTED) || in __port_move_to_attached_state()
233 (port->sm_vars & AD_PORT_STANDBY) || in __port_move_to_attached_state()
520 port->sm_vars |= AD_PORT_MATCHED; in __choose_matched()
522 port->sm_vars &= ~AD_PORT_MATCHED; in __choose_matched()
557 if ((port->sm_vars & AD_PORT_MATCHED) && in __record_pdu()
617 port->sm_vars &= ~AD_PORT_SELECTED; in __update_selected()
650 port->sm_vars &= ~AD_PORT_SELECTED; in __update_default_selected()
706 if (!(port->sm_vars & AD_PORT_READY_N)) { in __agg_ports_are_ready()
729 port->sm_vars |= AD_PORT_READY; in __set_agg_ports_ready()
731 port->sm_vars &= ~AD_PORT_READY; in __set_agg_ports_ready()
1000 if (port->sm_vars & AD_PORT_BEGIN) { in ad_mux_machine()
1005 if ((port->sm_vars & AD_PORT_SELECTED) in ad_mux_machine()
1006 || (port->sm_vars & AD_PORT_STANDBY)) in ad_mux_machine()
1012 if (!(port->sm_vars & AD_PORT_SELECTED)) { in ad_mux_machine()
1013 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
1027 port->sm_vars |= AD_PORT_READY_N; in ad_mux_machine()
1039 if ((port->sm_vars & AD_PORT_READY) in ad_mux_machine()
1047 if ((port->sm_vars & AD_PORT_SELECTED) && in ad_mux_machine()
1057 } else if (!(port->sm_vars & AD_PORT_SELECTED) || in ad_mux_machine()
1058 (port->sm_vars & AD_PORT_STANDBY)) { in ad_mux_machine()
1060 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
1088 if ((port->sm_vars & AD_PORT_SELECTED) && in ad_mux_machine()
1107 if (!(port->sm_vars & AD_PORT_SELECTED) || in ad_mux_machine()
1108 (port->sm_vars & AD_PORT_STANDBY) || in ad_mux_machine()
1216 if (port->sm_vars & AD_PORT_BEGIN) { in ad_rx_machine()
1218 port->sm_vars |= AD_PORT_CHURNED; in ad_rx_machine()
1220 } else if (!(port->sm_vars & AD_PORT_BEGIN) && !port->is_enabled) in ad_rx_machine()
1227 port->sm_vars |= AD_PORT_CHURNED; in ad_rx_machine()
1249 (port->sm_vars & AD_PORT_LACP_ENABLED)) in ad_rx_machine()
1252 && ((port->sm_vars in ad_rx_machine()
1273 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in ad_rx_machine()
1275 port->sm_vars |= AD_PORT_LACP_ENABLED; in ad_rx_machine()
1276 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1283 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1286 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1289 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1300 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1305 port->sm_vars |= AD_PORT_CHURNED; in ad_rx_machine()
1310 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1340 if (port->sm_vars & AD_PORT_CHURNED) { in ad_churn_machine()
1341 port->sm_vars &= ~AD_PORT_CHURNED; in ad_churn_machine()
1383 if (port->ntt && (port->sm_vars & AD_PORT_LACP_ENABLED)) { in ad_tx_machine()
1420 …if (((port->sm_vars & AD_PORT_BEGIN) || !(port->sm_vars & AD_PORT_LACP_ENABLED) || !port->is_enabl… in ad_periodic_machine()
1514 if (port->sm_vars & AD_PORT_SELECTED) in ad_port_selection_logic()
1603 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1643 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1986 port->sm_vars = AD_PORT_BEGIN | AD_PORT_LACP_ENABLED; in ad_initialize_port()
2509 if (port->sm_vars & AD_PORT_BEGIN) in bond_3ad_state_machine_handler()
2510 port->sm_vars &= ~AD_PORT_BEGIN; in bond_3ad_state_machine_handler()
2631 port->sm_vars |= AD_PORT_LACP_ENABLED; in ad_update_actor_keys()
2633 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in ad_update_actor_keys()
2643 port->sm_vars |= AD_PORT_BEGIN; in ad_update_actor_keys()