Home
last modified time | relevance | path

Searched refs:BOND_MODE (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/include/net/
Dbonding.h50 #define BOND_MODE(bond) ((bond)->params.mode) macro
274 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_should_override_tx_queue()
275 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN; in bond_should_override_tx_queue()
280 return BOND_MODE(bond) == BOND_MODE_TLB || in bond_is_lb()
281 BOND_MODE(bond) == BOND_MODE_ALB; in bond_is_lb()
286 return (BOND_MODE(bond) == BOND_MODE_TLB) && in bond_is_nondyn_tlb()
292 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_uses_xmit_hash()
293 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_uses_xmit_hash()
311 return bond_mode_uses_primary(BOND_MODE(bond)); in bond_uses_primary()
/linux-4.4.14/drivers/net/bonding/
Dbond_sysfs.c216 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()
498 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_aggregator()
518 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_num_ports()
538 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_actor_key()
558 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_key()
578 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_mac()
687 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_sys_prio()
701 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_system()
716 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_user_port_key()
Dbond_sysfs_slave.c72 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()
Dbond_main.c350 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_set_carrier()
570 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_hw_addr_flush()
837 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()
865 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()
901 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()
980 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()
989 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()
1146 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_should_deliver_exact_match()
1188 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_handle_frame()
1232 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_alloc_slave()
[all …]
Dbond_procfs.c66 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()
189 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_slave()
Dbond_debugfs.c24 if (BOND_MODE(bond) != BOND_MODE_ALB) in bond_debug_rlb_hash_show()
Dbond_netlink.c59 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in bond_fill_slave_info()
512 if (nla_put_u8(skb, IFLA_BOND_MODE, BOND_MODE(bond))) in bond_fill_info()
614 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_info()
Dbond_alb.c1006 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()