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

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c142 static int bonding_setup(struct skeletons *skeletons, int mode, int xmit_policy, argument
150 mode_names[mode], xmit_policy_names[xmit_policy]);
153 mode_names[mode], xmit_policy_names[xmit_policy]);
271 static void test_xdp_bonding_with_mode(struct skeletons *skeletons, int mode, int xmit_policy) argument
275 if (bonding_setup(skeletons, mode, xmit_policy, BOND_BOTH_AND_ATTACH))
278 if (send_udp_packets(xmit_policy != BOND_XMIT_POLICY_LAYER34))
293 switch (xmit_policy) {
304 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy);
319 PRINT_FAIL("Unimplemented xmit_policy
624 int xmit_policy; member in struct:bond_test_case
[all...]
/linux-master/drivers/net/bonding/
H A Dbond_procfs.c81 bond->params.xmit_policy);
83 optval->string, bond->params.xmit_policy);
H A Dbond_main.c317 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34)
336 if (bond->params.xmit_policy != BOND_XMIT_POLICY_VLAN_SRCMAC)
1627 switch (bond->params.xmit_policy) {
4117 bool l34 = bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34;
4120 switch (bond->params.xmit_policy) {
4159 static u32 bond_ip_hash(u32 hash, struct flow_keys *flow, int xmit_policy) argument
4167 if (xmit_policy == BOND_XMIT_POLICY_LAYER34 ||
4168 xmit_policy == BOND_XMIT_POLICY_ENCAP34)
4184 if (bond->params.xmit_policy == BOND_XMIT_POLICY_VLAN_SRCMAC)
4187 if (bond->params.xmit_policy
[all...]
H A Dbond_sysfs.c218 val = bond_opt_get_val(BOND_OPT_XMIT_HASH, bond->params.xmit_policy);
220 return sysfs_emit(buf, "%s %d\n", val->string, bond->params.xmit_policy);
H A Dbond_netlink.c741 bond->params.xmit_policy))
H A Dbond_options.c1429 bond->params.xmit_policy = newval->value;
/linux-master/include/net/
H A Dbonding.h120 int xmit_policy; member in struct:bond_params

Completed in 168 milliseconds