Lines Matching refs:BOND_MODE
51 #define BOND_MODE(bond) ((bond)->params.mode) macro
303 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_should_override_tx_queue()
304 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN; in bond_should_override_tx_queue()
309 return BOND_MODE(bond) == BOND_MODE_TLB || in bond_is_lb()
310 BOND_MODE(bond) == BOND_MODE_ALB; in bond_is_lb()
315 return BOND_MODE(bond) == BOND_MODE_8023AD || bond_is_lb(bond); in bond_needs_speed_duplex()
325 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_can_use_xmit_hash()
326 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_can_use_xmit_hash()
327 BOND_MODE(bond) == BOND_MODE_TLB || in bond_mode_can_use_xmit_hash()
328 BOND_MODE(bond) == BOND_MODE_ALB); in bond_mode_can_use_xmit_hash()
333 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_uses_xmit_hash()
334 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_uses_xmit_hash()
352 return bond_mode_uses_primary(BOND_MODE(bond)); in bond_uses_primary()
576 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) in bond_set_slave_inactive_flags()
591 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) in bond_set_slave_active_flags()