Home
last modified time | relevance | path

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

/linux-6.15/include/net/
H A Dbonding.h51 #define BOND_MODE(bond) ((bond)->params.mode) macro
301 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN; in bond_should_override_tx_queue()
306 return BOND_MODE(bond) == BOND_MODE_TLB || in bond_is_lb()
307 BOND_MODE(bond) == BOND_MODE_ALB; in bond_is_lb()
322 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_can_use_xmit_hash()
323 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_can_use_xmit_hash()
324 BOND_MODE(bond) == BOND_MODE_TLB || in bond_mode_can_use_xmit_hash()
325 BOND_MODE(bond) == BOND_MODE_ALB); in bond_mode_can_use_xmit_hash()
330 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_uses_xmit_hash()
331 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_uses_xmit_hash()
[all …]
/linux-6.15/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_sysfs.c203 val = bond_opt_get_val(BOND_OPT_MODE, BOND_MODE(bond)); in bonding_show_mode()
205 return sysfs_emit(buf, "%s %d\n", val->string, BOND_MODE(bond)); in bonding_show_mode()
523 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_aggregator()
544 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bonding_show_ad_num_ports()
565 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_actor_key()
586 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_key()
607 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_mac()
718 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_sys_prio()
732 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_system()
747 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_user_port_key()
H A Dbond_main.c315 switch (BOND_MODE(bond)) { in bond_sk_check()
1728 switch (BOND_MODE(bond)) { in bond_lag_tx_type()
1854 info->bond_mode = BOND_MODE(bond); in bond_fill_ifbond()
2236 switch (BOND_MODE(bond)) { in bond_enslave()
2751 (BOND_MODE(bond) == in bond_miimon_inspect()
2828 switch (BOND_MODE(bond)) { in bond_miimon_link_change()
4883 if (BOND_MODE(bond) == BOND_MODE_ALB) in bond_set_mac_address()
5427 switch (BOND_MODE(bond)) { in bond_xmit_get_slave()
5569 switch (BOND_MODE(bond)) { in __bond_start_xmit()
5620 switch (BOND_MODE(bond)) { in bond_xdp_get_xmit_slave()
[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.c61 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in bond_fill_slave_info()
657 if (nla_put_u8(skb, IFLA_BOND_MODE, BOND_MODE(bond))) in bond_fill_info()
796 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_info()
885 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.c860 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_set_xfrm_features()
1243 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in slave_can_set_ns_maddr()