Lines Matching refs:BOND_MODE

350 	if (BOND_MODE(bond) == BOND_MODE_8023AD)  in bond_set_carrier()
570 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_hw_addr_flush()
837 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()
865 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()
901 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()
980 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()
989 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()
1146 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_should_deliver_exact_match()
1188 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_handle_frame()
1232 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_alloc_slave()
1247 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_free_slave()
1255 info->bond_mode = BOND_MODE(bond); in bond_fill_ifbond()
1406 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in bond_enslave()
1456 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
1518 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_enslave()
1601 switch (BOND_MODE(bond)) { in bond_enslave()
1734 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
1818 if (BOND_MODE(bond) == BOND_MODE_8023AD) in __bond_release_one()
1833 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP)) { in __bond_release_one()
1915 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in __bond_release_one()
2008 (BOND_MODE(bond) == in bond_miimon_inspect()
2097 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_miimon_commit()
2100 } else if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_miimon_commit()
2114 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_miimon_commit()
2121 if (BOND_MODE(bond) == BOND_MODE_XOR) in bond_miimon_commit()
2135 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_miimon_commit()
2136 BOND_MODE(bond) == BOND_MODE_8023AD) in bond_miimon_commit()
2143 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_miimon_commit()
2151 if (BOND_MODE(bond) == BOND_MODE_XOR) in bond_miimon_commit()
2621 if (BOND_MODE(bond) == BOND_MODE_XOR) in bond_loadbalance_arp_mon()
2988 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_slave_netdev_event()
3179 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_work_init_all()
3210 } else if (BOND_MODE(bond) != BOND_MODE_8023AD) { in bond_open()
3223 if (bond_alb_initialize(bond, (BOND_MODE(bond) == BOND_MODE_ALB))) in bond_open()
3237 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_open()
3577 if (BOND_MODE(bond) == BOND_MODE_ALB) in bond_set_mac_address()
3587 BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_set_mac_address()
3814 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_update_slave_arr()
3833 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_update_slave_arr()
3986 switch (BOND_MODE(bond)) { in __bond_start_xmit()
4002 netdev_err(dev, "Unknown bonding mode %d\n", BOND_MODE(bond)); in __bond_start_xmit()