Lines Matching refs:BOND_MODE
567 if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_ipsec_offload_ok()
613 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_set_carrier()
830 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_hw_addr_flush()
1119 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()
1146 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()
1189 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()
1266 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()
1274 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()
1455 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_should_deliver_exact_match()
1510 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_handle_frame()
1528 switch (BOND_MODE(bond)) { in bond_lag_tx_type()
1591 if (BOND_MODE(bond) == BOND_MODE_8023AD) in slave_kobj_release()
1632 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_alloc_slave()
1646 info->bond_mode = BOND_MODE(bond); in bond_fill_ifbond()
1793 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
1804 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in bond_enslave()
1857 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
1975 switch (BOND_MODE(bond)) { in bond_enslave()
2081 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_enslave()
2140 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
2224 if (BOND_MODE(bond) == BOND_MODE_8023AD) in __bond_release_one()
2240 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP)) { in __bond_release_one()
2320 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in __bond_release_one()
2418 (BOND_MODE(bond) == in bond_miimon_inspect()
2493 switch (BOND_MODE(bond)) { in bond_miimon_link_change()
2521 if (BOND_MODE(bond) == BOND_MODE_8023AD && in bond_miimon_commit()
2540 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_miimon_commit()
2543 } else if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_miimon_commit()
2566 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_miimon_commit()
2567 BOND_MODE(bond) == BOND_MODE_8023AD) in bond_miimon_commit()
3063 if (BOND_MODE(bond) == BOND_MODE_XOR) in bond_loadbalance_arp_mon()
3388 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_arp_monitor()
3472 BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_slave_netdev_event()
3479 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_slave_netdev_event()
3743 } else if (BOND_MODE(bond) != BOND_MODE_8023AD) { in bond_open()
3754 if (bond_alb_initialize(bond, (BOND_MODE(bond) == BOND_MODE_ALB))) in bond_open()
3756 if (bond->params.tlb_dynamic_lb || BOND_MODE(bond) == BOND_MODE_ALB) in bond_open()
3768 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_open()
4175 if (BOND_MODE(bond) == BOND_MODE_ALB) in bond_set_mac_address()
4185 BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_set_mac_address()
4489 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_update_slave_arr()
4507 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_update_slave_arr()
4674 switch (BOND_MODE(bond)) { in bond_xmit_get_slave()
4716 switch (BOND_MODE(bond)) { in __bond_start_xmit()
4732 netdev_err(dev, "Unknown bonding mode %d\n", BOND_MODE(bond)); in __bond_start_xmit()
4788 if (BOND_MODE(bond) == BOND_MODE_BROADCAST) in bond_ethtool_get_link_ksettings()
4915 if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) in bond_setup()