Home
last modified time | relevance | path

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

/linux/include/net/
H A Dbonding.h51 #define BOND_MODE(bond) ((bond)->params.mode) macro
301 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP || in bond_should_override_tx_queue()
302 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN; in bond_should_override_tx_queue()
307 return BOND_MODE(bond) == BOND_MODE_TLB || in bond_is_lb()
308 BOND_MODE(bond) == BOND_MODE_ALB; in bond_is_lb()
313 return BOND_MODE(bond) == BOND_MODE_8023AD || bond_is_lb(bond); in bond_needs_speed_duplex()
323 return (BOND_MODE(bond) == BOND_MODE_8023AD || in bond_mode_can_use_xmit_hash()
324 BOND_MODE(bond) == BOND_MODE_XOR || in bond_mode_can_use_xmit_hash()
325 BOND_MODE(bond) == BOND_MODE_TLB || in bond_mode_can_use_xmit_hash()
326 BOND_MODE(bond) == BOND_MODE_ALB); in bond_mode_can_use_xmit_hash()
[all …]
/linux/drivers/net/bonding/
H A Dbond_sysfs_slave.c64 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_aggregator_id_show()
84 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in ad_actor_oper_port_state_show()
99 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()
441 if (BOND_MODE(bond) != BOND_MODE_ACTIVEBACKUP) in bond_ipsec_dev()
764 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_set_carrier()
921 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_hw_addr_flush()
1191 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_should_notify_peers()
1294 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_change_active_slave()
1320 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) { in bond_change_active_slave()
1353 BOND_MODE(bond) == BOND_MODE_ROUNDROBIN)) { in bond_change_active_slave()
1430 if (BOND_MODE(bond) == BOND_MODE_8023AD) in bond_poll_controller()
1438 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_poll_controller()
[all …]
H A Dbond_debugfs.c25 if (BOND_MODE(bond) != BOND_MODE_ALB) in bond_debug_rlb_hash_show()
H A Dbond_netlink.c64 if (BOND_MODE(slave->bond) == BOND_MODE_8023AD) { in bond_fill_slave_info()
959 if (BOND_MODE(bond) == BOND_MODE_8023AD) { in bond_fill_linkxstats()
H A Dbond_options.c902 if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP) in bond_set_xfrm_features()
1289 return BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP && in slave_can_set_ns_maddr()
1595 if (bond->xdp_prog && !__bond_xdp_check(BOND_MODE(bond), newval->value)) in bond_option_xmit_hash_policy_set()
H A Dbond_alb.c1028 if (BOND_MODE(slave->bond) == BOND_MODE_TLB) { in alb_set_slave_mac_addr()
1756 if (BOND_MODE(bond) == BOND_MODE_TLB) { in bond_alb_handle_active_change()