Searched refs:BOND_MODE (Results 1 – 8 of 8) sorted by relevance
50 #define BOND_MODE(bond) ((bond)->params.mode) macro270 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_should_override_tx_queue()271 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN; in bond_should_override_tx_queue()276 return BOND_MODE(bond) == BOND_MODE_TLB || in bond_is_lb()277 BOND_MODE(bond) == BOND_MODE_ALB; in bond_is_lb()282 return (BOND_MODE(bond) == BOND_MODE_TLB) && in bond_is_nondyn_tlb()288 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_uses_xmit_hash()289 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_uses_xmit_hash()307 return bond_mode_uses_primary(BOND_MODE(bond)); in bond_uses_primary()
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()[all …]
66 bond_mode_name(BOND_MODE(bond))); in bond_info_show_master()68 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in bond_info_show_master()127 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_master()182 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_slave()
216 val = bond_opt_get_val(BOND_OPT_MODE, BOND_MODE(bond)); in bonding_show_mode()218 return sprintf(buf, "%s %d\n", val->string, BOND_MODE(bond)); in bonding_show_mode()512 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_aggregator()532 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_num_ports()552 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_actor_key()572 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_partner_key()592 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_partner_mac()
24 if (BOND_MODE(bond) != BOND_MODE_ALB) in bond_debug_rlb_hash_show()
72 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_aggregator_id_show()
57 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in bond_fill_slave_info()453 if (nla_put_u8(skb, IFLA_BOND_MODE, BOND_MODE(bond))) in bond_fill_info()551 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_info()
1006 if (BOND_MODE(slave->bond) == BOND_MODE_TLB) { in alb_set_slave_mac_addr()1679 if (BOND_MODE(bond) == BOND_MODE_TLB) { in bond_alb_handle_active_change()