Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c141 static int bonding_setup(struct skeletons *skeletons, int mode, int xmit_policy, in bonding_setup() argument
157 mode_names[mode], xmit_policy_names[xmit_policy]); in bonding_setup()
160 mode_names[mode], xmit_policy_names[xmit_policy]); in bonding_setup()
274 static void test_xdp_bonding_with_mode(struct skeletons *skeletons, int mode, int xmit_policy) in test_xdp_bonding_with_mode() argument
278 if (bonding_setup(skeletons, mode, xmit_policy, BOND_BOTH_AND_ATTACH)) in test_xdp_bonding_with_mode()
281 if (send_udp_packets(xmit_policy != BOND_XMIT_POLICY_LAYER34)) in test_xdp_bonding_with_mode()
296 switch (xmit_policy) { in test_xdp_bonding_with_mode()
307 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode()
322 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode()
510 int xmit_policy; member
[all …]
/Linux-v5.15/drivers/net/bonding/
Dbond_procfs.c81 bond->params.xmit_policy); in bond_info_show_master()
83 optval->string, bond->params.xmit_policy); in bond_info_show_master()
Dbond_sysfs.c218 val = bond_opt_get_val(BOND_OPT_XMIT_HASH, bond->params.xmit_policy); in bonding_show_xmit_hash()
220 return sprintf(buf, "%s %d\n", val->string, bond->params.xmit_policy); in bonding_show_xmit_hash()
Dbond_main.c312 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34) in bond_sk_check()
331 if (bond->params.xmit_policy != BOND_XMIT_POLICY_VLAN_SRCMAC) in bond_xdp_check()
1590 switch (bond->params.xmit_policy) { in bond_lag_hash_type()
3779 bool l34 = bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34; in bond_flow_dissect()
3782 switch (bond->params.xmit_policy) { in bond_flow_dissect()
3841 if (bond->params.xmit_policy == BOND_XMIT_POLICY_VLAN_SRCMAC) in __bond_xmit_hash()
3844 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER2 || in __bond_xmit_hash()
3848 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER23 || in __bond_xmit_hash()
3849 bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP23) { in __bond_xmit_hash()
3871 if (bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP34 && in bond_xmit_hash()
[all …]
Dbond_netlink.c609 bond->params.xmit_policy)) in bond_fill_info()
Dbond_options.c1266 bond->params.xmit_policy = newval->value; in bond_option_xmit_hash_policy_set()
/Linux-v5.15/include/net/
Dbonding.h121 int xmit_policy; member