Lines Matching refs:sm_vars
473 port->sm_vars |= AD_PORT_MATCHED; in __choose_matched()
475 port->sm_vars &= ~AD_PORT_MATCHED; in __choose_matched()
510 if ((port->sm_vars & AD_PORT_MATCHED) && in __record_pdu()
570 port->sm_vars &= ~AD_PORT_SELECTED; in __update_selected()
603 port->sm_vars &= ~AD_PORT_SELECTED; in __update_default_selected()
659 if (!(port->sm_vars & AD_PORT_READY_N)) { in __agg_ports_are_ready()
682 port->sm_vars |= AD_PORT_READY; in __set_agg_ports_ready()
684 port->sm_vars &= ~AD_PORT_READY; in __set_agg_ports_ready()
952 if (port->sm_vars & AD_PORT_BEGIN) { in ad_mux_machine()
957 if ((port->sm_vars & AD_PORT_SELECTED) in ad_mux_machine()
958 || (port->sm_vars & AD_PORT_STANDBY)) in ad_mux_machine()
964 if (!(port->sm_vars & AD_PORT_SELECTED)) { in ad_mux_machine()
965 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
979 port->sm_vars |= AD_PORT_READY_N; in ad_mux_machine()
991 if ((port->sm_vars & AD_PORT_READY) in ad_mux_machine()
999 if ((port->sm_vars & AD_PORT_SELECTED) && in ad_mux_machine()
1005 } else if (!(port->sm_vars & AD_PORT_SELECTED) || in ad_mux_machine()
1006 (port->sm_vars & AD_PORT_STANDBY)) { in ad_mux_machine()
1008 port->sm_vars &= ~AD_PORT_READY_N; in ad_mux_machine()
1022 if (!(port->sm_vars & AD_PORT_SELECTED) || in ad_mux_machine()
1023 (port->sm_vars & AD_PORT_STANDBY) || in ad_mux_machine()
1116 if (port->sm_vars & AD_PORT_BEGIN) { in ad_rx_machine()
1118 port->sm_vars |= AD_PORT_CHURNED; in ad_rx_machine()
1120 } else if (!(port->sm_vars & AD_PORT_BEGIN) && !port->is_enabled) in ad_rx_machine()
1127 port->sm_vars |= AD_PORT_CHURNED; in ad_rx_machine()
1149 (port->sm_vars & AD_PORT_LACP_ENABLED)) in ad_rx_machine()
1152 && ((port->sm_vars in ad_rx_machine()
1173 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in ad_rx_machine()
1175 port->sm_vars |= AD_PORT_LACP_ENABLED; in ad_rx_machine()
1176 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1183 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1186 port->sm_vars &= ~AD_PORT_SELECTED; in ad_rx_machine()
1189 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1200 port->sm_vars &= ~AD_PORT_MATCHED; in ad_rx_machine()
1205 port->sm_vars |= AD_PORT_CHURNED; in ad_rx_machine()
1210 port->sm_vars |= AD_PORT_MATCHED; in ad_rx_machine()
1240 if (port->sm_vars & AD_PORT_CHURNED) { in ad_churn_machine()
1241 port->sm_vars &= ~AD_PORT_CHURNED; in ad_churn_machine()
1283 if (port->ntt && (port->sm_vars & AD_PORT_LACP_ENABLED)) { in ad_tx_machine()
1320 …if (((port->sm_vars & AD_PORT_BEGIN) || !(port->sm_vars & AD_PORT_LACP_ENABLED) || !port->is_enabl… in ad_periodic_machine()
1414 if (port->sm_vars & AD_PORT_SELECTED) in ad_port_selection_logic()
1503 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1543 port->sm_vars |= AD_PORT_SELECTED; in ad_port_selection_logic()
1886 port->sm_vars = AD_PORT_BEGIN | AD_PORT_LACP_ENABLED; in ad_initialize_port()
2374 if (port->sm_vars & AD_PORT_BEGIN) in bond_3ad_state_machine_handler()
2375 port->sm_vars &= ~AD_PORT_BEGIN; in bond_3ad_state_machine_handler()
2496 port->sm_vars |= AD_PORT_LACP_ENABLED; in ad_update_actor_keys()
2498 port->sm_vars &= ~AD_PORT_LACP_ENABLED; in ad_update_actor_keys()
2508 port->sm_vars |= AD_PORT_BEGIN; in ad_update_actor_keys()