Home
last modified time | relevance | path

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

/Linux-v5.15/include/net/
Dbonding.h50 #define BOND_MODE(bond) ((bond)->params.mode) macro
294 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_should_override_tx_queue()
295 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN; in bond_should_override_tx_queue()
300 return BOND_MODE(bond) == BOND_MODE_TLB || in bond_is_lb()
301 BOND_MODE(bond) == BOND_MODE_ALB; in bond_is_lb()
306 return BOND_MODE(bond) == BOND_MODE_8023AD || bond_is_lb(bond); in bond_needs_speed_duplex()
316 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_can_use_xmit_hash()
317 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_can_use_xmit_hash()
318 BOND_MODE(bond) == BOND_MODE_TLB || in bond_mode_can_use_xmit_hash()
319 BOND_MODE(bond) == BOND_MODE_ALB); in bond_mode_can_use_xmit_hash()
[all …]
/Linux-v5.15/drivers/net/bonding/
Dbond_sysfs_slave.c70 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_aggregator_id_show()
85 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_actor_oper_port_state_show()
100 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_partner_oper_port_state_show()
Dbond_sysfs.c204 val = bond_opt_get_val(BOND_OPT_MODE, BOND_MODE(bond)); in bonding_show_mode()
206 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()
533 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_num_ports()
554 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_actor_key()
575 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_key()
596 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_mac()
707 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_sys_prio()
721 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_system()
736 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_user_port_key()
Dbond_main.c309 switch (BOND_MODE(bond)) { in bond_sk_check()
322 switch (BOND_MODE(bond)) { in bond_xdp_check()
602 if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_ipsec_offload_ok()
648 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_set_carrier()
865 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_hw_addr_flush()
1155 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()
1181 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()
1224 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()
1301 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()
1309 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()
[all …]
Dbond_procfs.c68 bond_mode_name(BOND_MODE(bond))); in bond_info_show_master()
70 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in bond_info_show_master()
132 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_master()
197 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_slave()
Dbond_debugfs.c25 if (BOND_MODE(bond) != BOND_MODE_ALB) in bond_debug_rlb_hash_show()
Dbond_netlink.c55 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in bond_fill_slave_info()
542 if (nla_put_u8(skb, IFLA_BOND_MODE, BOND_MODE(bond))) in bond_fill_info()
653 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_info()
742 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_linkxstats()
Dbond_alb.c1015 if (BOND_MODE(slave->bond) == BOND_MODE_TLB) { in alb_set_slave_mac_addr()
1716 if (BOND_MODE(bond) == BOND_MODE_TLB) { in bond_alb_handle_active_change()
Dbond_options.c780 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_set_xfrm_features()