Lines Matching refs:BOND_MODE
314 switch (BOND_MODE(bond)) { in bond_sk_check()
327 switch (BOND_MODE(bond)) { in bond_xdp_check()
609 if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_ipsec_offload_ok()
655 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_set_carrier()
872 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_hw_addr_flush()
1188 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()
1214 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()
1257 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()
1334 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()
1342 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()
1533 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_should_deliver_exact_match()
1588 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_handle_frame()
1606 switch (BOND_MODE(bond)) { in bond_lag_tx_type()
1677 if (BOND_MODE(bond) == BOND_MODE_8023AD) in slave_kobj_release()
1718 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_alloc_slave()
1732 info->bond_mode = BOND_MODE(bond); in bond_fill_ifbond()
1931 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
1941 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in bond_enslave()
1994 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
2114 switch (BOND_MODE(bond)) { in bond_enslave()
2222 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_enslave()
2316 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
2409 if (BOND_MODE(bond) == BOND_MODE_8023AD) in __bond_release_one()
2425 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP)) { in __bond_release_one()
2507 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in __bond_release_one()
2590 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_miimon_inspect()
2616 (BOND_MODE(bond) == in bond_miimon_inspect()
2691 switch (BOND_MODE(bond)) { in bond_miimon_link_change()
2722 if (BOND_MODE(bond) == BOND_MODE_8023AD && in bond_miimon_commit()
2741 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_miimon_commit()
2744 } else if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_miimon_commit()
2768 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_miimon_commit()
2769 BOND_MODE(bond) == BOND_MODE_8023AD) in bond_miimon_commit()
3496 if (BOND_MODE(bond) == BOND_MODE_XOR) in bond_loadbalance_arp_mon()
3824 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_arp_monitor()
3908 BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_slave_netdev_event()
3915 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_slave_netdev_event()
4270 if (BOND_MODE(bond) == BOND_MODE_ROUNDROBIN && !bond->rr_tx_counter) { in bond_open()
4283 } else if (BOND_MODE(bond) != BOND_MODE_8023AD) { in bond_open()
4294 if (bond_alb_initialize(bond, (BOND_MODE(bond) == BOND_MODE_ALB))) in bond_open()
4296 if (bond->params.tlb_dynamic_lb || BOND_MODE(bond) == BOND_MODE_ALB) in bond_open()
4308 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_open()
4746 if (BOND_MODE(bond) == BOND_MODE_ALB) in bond_set_mac_address()
4756 BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_set_mac_address()
5086 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_update_slave_arr()
5107 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_update_slave_arr()
5290 switch (BOND_MODE(bond)) { in bond_xmit_get_slave()
5432 switch (BOND_MODE(bond)) { in __bond_start_xmit()
5448 netdev_err(dev, "Unknown bonding mode %d\n", BOND_MODE(bond)); in __bond_start_xmit()
5483 switch (BOND_MODE(bond)) { in bond_xdp_get_xmit_slave()
5499 netdev_err(bond_dev, "Unknown bonding mode %d for xdp xmit\n", BOND_MODE(bond)); in bond_xdp_get_xmit_slave()
5731 if (BOND_MODE(bond) == BOND_MODE_BROADCAST) in bond_ethtool_get_link_ksettings()
5936 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_setup()