Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c142 static int bonding_setup(struct skeletons *skeletons, int mode, int xmit_policy, in bonding_setup() argument
150 mode_names[mode], xmit_policy_names[xmit_policy]); in bonding_setup()
153 mode_names[mode], xmit_policy_names[xmit_policy]); in bonding_setup()
271 static void test_xdp_bonding_with_mode(struct skeletons *skeletons, int mode, int xmit_policy) in test_xdp_bonding_with_mode() argument
275 if (bonding_setup(skeletons, mode, xmit_policy, BOND_BOTH_AND_ATTACH)) in test_xdp_bonding_with_mode()
278 if (send_udp_packets(xmit_policy != BOND_XMIT_POLICY_LAYER34)) in test_xdp_bonding_with_mode()
293 switch (xmit_policy) { in test_xdp_bonding_with_mode()
304 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode()
319 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode()
624 int xmit_policy; member
[all …]
/linux-6.15/drivers/net/bonding/
H A Dbond_procfs.c81 bond->params.xmit_policy); in bond_info_show_master()
83 optval->string, bond->params.xmit_policy); in bond_info_show_master()
H A Dbond_main.c318 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34) in bond_sk_check()
337 if (bond->params.xmit_policy != BOND_XMIT_POLICY_VLAN_SRCMAC) in bond_xdp_check()
1749 switch (bond->params.xmit_policy) { in bond_lag_hash_type()
4255 switch (bond->params.xmit_policy) { in bond_flow_dissect()
4302 if (xmit_policy == BOND_XMIT_POLICY_LAYER34 || in bond_ip_hash()
4303 xmit_policy == BOND_XMIT_POLICY_ENCAP34) in bond_ip_hash()
4322 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER2 || in __bond_xmit_hash()
4326 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER23 || in __bond_xmit_hash()
4327 bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP23) { in __bond_xmit_hash()
4336 return bond_ip_hash(hash, &flow, bond->params.xmit_policy); in __bond_xmit_hash()
[all …]
H A Dbond_sysfs.c217 val = bond_opt_get_val(BOND_OPT_XMIT_HASH, bond->params.xmit_policy); in bonding_show_xmit_hash()
219 return sysfs_emit(buf, "%s %d\n", val->string, bond->params.xmit_policy); in bonding_show_xmit_hash()
H A Dbond_netlink.c744 bond->params.xmit_policy)) in bond_fill_info()
H A Dbond_options.c1551 bond->params.xmit_policy = newval->value; in bond_option_xmit_hash_policy_set()
/linux-6.15/include/net/
H A Dbonding.h120 int xmit_policy; member