Home
last modified time | relevance | path

Searched refs:BOND_MODE (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A 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(bon in bond_mode_can_use_xmit_hash()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dbonding.h51 #define BOND_MODE(bond) ((bond)->params.mode) macro
298 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_should_override_tx_queue()
299 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN; in bond_should_override_tx_queue()
304 return BOND_MODE(bond) == BOND_MODE_TLB || in bond_is_lb()
305 BOND_MODE(bond) == BOND_MODE_ALB; in bond_is_lb()
310 return BOND_MODE(bond) == BOND_MODE_8023AD || bond_is_lb(bond); in bond_needs_speed_duplex()
320 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_can_use_xmit_hash()
321 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_can_use_xmit_hash()
322 BOND_MODE(bond) == BOND_MODE_TLB || in bond_mode_can_use_xmit_hash()
323 BOND_MODE(bon in bond_mode_can_use_xmit_hash()
[all...]
/kernel/linux/linux-5.10/drivers/net/bonding/
H A 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()
H A 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()
497 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_aggregator()
517 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_num_ports()
537 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_actor_key()
557 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_key()
577 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_mac()
686 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_sys_prio()
700 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_system()
715 if (BOND_MODE(bon in bonding_show_ad_user_port_key()
[all...]
H A Dbond_main.c568 if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_ipsec_offload_ok()
614 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_set_carrier()
831 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_hw_addr_flush()
1120 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()
1147 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()
1190 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()
1267 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()
1275 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()
1467 if (BOND_MODE(bond) == BOND_MODE_ALB && in bond_should_deliver_exact_match()
1522 if (BOND_MODE(bon in bond_handle_frame()
[all...]
H A Dbond_procfs.c67 bond_mode_name(BOND_MODE(bond))); in bond_info_show_master()
69 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in bond_info_show_master()
130 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_master()
193 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_info_show_slave()
H A Dbond_debugfs.c25 if (BOND_MODE(bond) != BOND_MODE_ALB) in bond_debug_rlb_hash_show()
H A Dbond_netlink.c55 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in bond_fill_slave_info()
530 if (nla_put_u8(skb, IFLA_BOND_MODE, BOND_MODE(bond))) in bond_fill_info()
637 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_info()
726 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_linkxstats()
H A Dbond_alb.c1014 if (BOND_MODE(slave->bond) == BOND_MODE_TLB) { in alb_set_slave_mac_addr()
1748 if (BOND_MODE(bond) == BOND_MODE_TLB) { in bond_alb_handle_active_change()
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_sysfs_slave.c64 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()
H A Dbond_main.c314 switch (BOND_MODE(bond)) { in bond_sk_check()
327 switch (BOND_MODE(bond)) { in bond_xdp_check()
609 if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) { in bond_ipsec_offload_ok()
655 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_set_carrier()
872 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_hw_addr_flush()
1188 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()
1214 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()
1257 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()
1334 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()
1342 if (BOND_MODE(bon in bond_poll_controller()
[all...]
H A Dbond_sysfs.c204 val = bond_opt_get_val(BOND_OPT_MODE, BOND_MODE(bond)); in bonding_show_mode()
206 return sysfs_emit(buf, "%s %d\n", val->string, BOND_MODE(bond)); in bonding_show_mode()
524 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_aggregator()
545 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_num_ports()
566 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_actor_key()
587 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_key()
608 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_mac()
719 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_sys_prio()
733 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_system()
748 if (BOND_MODE(bon in bonding_show_ad_user_port_key()
[all...]
H A 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()
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()
H A Dbond_debugfs.c25 if (BOND_MODE(bond) != BOND_MODE_ALB) in bond_debug_rlb_hash_show()
H A Dbond_netlink.c60 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in bond_fill_slave_info()
642 if (nla_put_u8(skb, IFLA_BOND_MODE, BOND_MODE(bond))) in bond_fill_info()
777 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_info()
866 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_linkxstats()
H A Dbond_alb.c1028 if (BOND_MODE(slave->bond) == BOND_MODE_TLB) { in alb_set_slave_mac_addr()
1755 if (BOND_MODE(bond) == BOND_MODE_TLB) { in bond_alb_handle_active_change()
H A Dbond_options.c843 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_set_xfrm_features()

Completed in 22 milliseconds