Searched refs:BOND_MODE (Results 1 – 8 of 8) sorted by relevance
41 #define BOND_MODE(bond) ((bond)->params.mode) macro266 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_should_override_tx_queue()267 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN; in bond_should_override_tx_queue()272 return BOND_MODE(bond) == BOND_MODE_TLB || in bond_is_lb()273 BOND_MODE(bond) == BOND_MODE_ALB; in bond_is_lb()278 return BOND_MODE(bond) == BOND_MODE_8023AD || bond_is_lb(bond); in bond_needs_speed_duplex()288 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_can_use_xmit_hash()289 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_can_use_xmit_hash()290 BOND_MODE(bond) == BOND_MODE_TLB || in bond_mode_can_use_xmit_hash()291 BOND_MODE(bond) == BOND_MODE_ALB); in bond_mode_can_use_xmit_hash()[all …]
220 val = bond_opt_get_val(BOND_OPT_MODE, BOND_MODE(bond)); in bonding_show_mode()222 return sprintf(buf, "%s %d\n", val->string, BOND_MODE(bond)); in bonding_show_mode()501 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_aggregator()521 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_num_ports()541 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_actor_key()561 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_key()581 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_mac()690 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_sys_prio()704 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_system()719 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_user_port_key()
72 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_aggregator_id_show()87 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_actor_oper_port_state_show()102 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_partner_oper_port_state_show()
345 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_set_carrier()562 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_hw_addr_flush()836 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()864 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()900 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()976 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()984 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()1138 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_should_deliver_exact_match()1200 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_handle_frame()1218 switch (BOND_MODE(bond)) { in bond_lag_tx_type()[all …]
67 bond_mode_name(BOND_MODE(bond))); in bond_info_show_master()69 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in bond_info_show_master()128 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_master()191 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()
59 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in bond_fill_slave_info()525 if (nla_put_u8(skb, IFLA_BOND_MODE, BOND_MODE(bond))) in bond_fill_info()628 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_info()
1024 if (BOND_MODE(slave->bond) == BOND_MODE_TLB) { in alb_set_slave_mac_addr()1724 if (BOND_MODE(bond) == BOND_MODE_TLB) { in bond_alb_handle_active_change()