Searched refs:BOND_MODE (Results 1 – 6 of 6) sorted by relevance
51 #define BOND_MODE(bond) ((bond)->params.mode) macro303 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()[all …]
316 switch (BOND_MODE(bond)) { in bond_sk_check()443 if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) in bond_ipsec_dev()766 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_set_carrier()919 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_hw_addr_flush()1189 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_should_notify_peers()1292 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()1318 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()1351 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()1428 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()1436 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()[all …]
64 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_aggregator_id_show()79 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_actor_oper_port_state_show()94 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_partner_oper_port_state_show()
68 bond_mode_name(BOND_MODE(bond))); in bond_info_show_master()70 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in bond_info_show_master()149 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_master()214 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_slave()
25 if (BOND_MODE(bond) != BOND_MODE_ALB) in bond_debug_rlb_hash_show()
886 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_set_xfrm_features()1272 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in slave_can_set_ns_maddr()1578 if (bond->xdp_prog && !__bond_xdp_check(BOND_MODE(bond), newval->value)) in bond_option_xmit_hash_policy_set()