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()
819 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()
847 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()
883 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()
962 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()
972 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()
1133 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_should_deliver_exact_match()
1175 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_handle_frame()
1219 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_alloc_slave()
1234 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_free_slave()
1242 info->bond_mode = BOND_MODE(bond); in bond_fill_ifbond()
1393 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in bond_enslave()
1443 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
1505 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_enslave()
1588 switch (BOND_MODE(bond)) { in bond_enslave()
1721 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_enslave()
1797 if (BOND_MODE(bond) == BOND_MODE_8023AD) in __bond_release_one()
1812 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP)) { in __bond_release_one()
1894 BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in __bond_release_one()
1987 (BOND_MODE(bond) == in bond_miimon_inspect()
2076 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_miimon_commit()
2079 } else if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_miimon_commit()
2093 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_miimon_commit()
2100 if (BOND_MODE(bond) == BOND_MODE_XOR) in bond_miimon_commit()
2114 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_miimon_commit()
2115 BOND_MODE(bond) == BOND_MODE_8023AD) in bond_miimon_commit()
2122 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_miimon_commit()
2130 if (BOND_MODE(bond) == BOND_MODE_XOR) in bond_miimon_commit()
2600 if (BOND_MODE(bond) == BOND_MODE_XOR) in bond_loadbalance_arp_mon()
2973 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_slave_netdev_event()
3165 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_work_init_all()
3196 } else if (BOND_MODE(bond) != BOND_MODE_8023AD) { in bond_open()
3209 if (bond_alb_initialize(bond, (BOND_MODE(bond) == BOND_MODE_ALB))) in bond_open()
3223 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_open()
3559 if (BOND_MODE(bond) == BOND_MODE_ALB) in bond_set_mac_address()
3569 BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_set_mac_address()
3797 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_update_slave_arr()
3817 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_update_slave_arr()
3970 switch (BOND_MODE(bond)) { in __bond_start_xmit()
3986 netdev_err(dev, "Unknown bonding mode %d\n", BOND_MODE(bond)); in __bond_start_xmit()