Searched refs:xmit_policy (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_bonding.c | 141 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() 278 static void test_xdp_bonding_with_mode(struct skeletons *skeletons, int mode, int xmit_policy) in test_xdp_bonding_with_mode() argument 282 if (bonding_setup(skeletons, mode, xmit_policy, BOND_BOTH_AND_ATTACH)) in test_xdp_bonding_with_mode() 285 if (send_udp_packets(xmit_policy != BOND_XMIT_POLICY_LAYER34)) in test_xdp_bonding_with_mode() 300 switch (xmit_policy) { in test_xdp_bonding_with_mode() 311 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode() 326 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode() 514 int xmit_policy; member [all …]
|
/Linux-v6.1/drivers/net/bonding/ |
D | bond_procfs.c | 81 bond->params.xmit_policy); in bond_info_show_master() 83 optval->string, bond->params.xmit_policy); in bond_info_show_master()
|
D | bond_main.c | 315 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34) in bond_sk_check() 334 if (bond->params.xmit_policy != BOND_XMIT_POLICY_VLAN_SRCMAC) in bond_xdp_check() 1619 switch (bond->params.xmit_policy) { in bond_lag_hash_type() 4037 bool l34 = bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34; in bond_flow_dissect() 4040 switch (bond->params.xmit_policy) { in bond_flow_dissect() 4079 static u32 bond_ip_hash(u32 hash, struct flow_keys *flow, int xmit_policy) in bond_ip_hash() argument 4087 if (xmit_policy == BOND_XMIT_POLICY_LAYER34 || in bond_ip_hash() 4088 xmit_policy == BOND_XMIT_POLICY_ENCAP34) in bond_ip_hash() 4104 if (bond->params.xmit_policy == BOND_XMIT_POLICY_VLAN_SRCMAC) in __bond_xmit_hash() 4107 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER2 || in __bond_xmit_hash() [all …]
|
D | bond_sysfs.c | 218 val = bond_opt_get_val(BOND_OPT_XMIT_HASH, bond->params.xmit_policy); in bonding_show_xmit_hash() 220 return sysfs_emit(buf, "%s %d\n", val->string, bond->params.xmit_policy); in bonding_show_xmit_hash()
|
D | bond_netlink.c | 724 bond->params.xmit_policy)) in bond_fill_info()
|
D | bond_options.c | 1419 bond->params.xmit_policy = newval->value; in bond_option_xmit_hash_policy_set()
|
/Linux-v6.1/include/net/ |
D | bonding.h | 124 int xmit_policy; member
|