Searched refs:xmit_policy (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_bonding.c | 142 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() 276 static void test_xdp_bonding_with_mode(struct skeletons *skeletons, int mode, int xmit_policy) in test_xdp_bonding_with_mode() argument 280 if (bonding_setup(skeletons, mode, xmit_policy, BOND_BOTH_AND_ATTACH)) in test_xdp_bonding_with_mode() 283 if (send_udp_packets(xmit_policy != BOND_XMIT_POLICY_LAYER34)) in test_xdp_bonding_with_mode() 298 switch (xmit_policy) { in test_xdp_bonding_with_mode() 309 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode() 324 PRINT_FAIL("Unimplemented xmit_policy=%d\n", xmit_policy); in test_xdp_bonding_with_mode() 768 int xmit_policy; member [all …]
|
| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 317 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34) in bond_sk_check() 325 bool __bond_xdp_check(int mode, int xmit_policy) in __bond_xdp_check() argument 336 if (xmit_policy != BOND_XMIT_POLICY_VLAN_SRCMAC) in __bond_xdp_check() 346 return __bond_xdp_check(mode, bond->params.xmit_policy); in bond_xdp_check() 1688 switch (bond->params.xmit_policy) { in bond_lag_hash_type() 4191 bool l34 = bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34; in bond_flow_dissect() 4194 switch (bond->params.xmit_policy) { in bond_flow_dissect() 4234 static u32 bond_ip_hash(u32 hash, struct flow_keys *flow, int xmit_policy) in bond_ip_hash() argument 4242 if (xmit_policy == BOND_XMIT_POLICY_LAYER34 || in bond_ip_hash() 4243 xmit_policy == BOND_XMIT_POLICY_ENCAP34) in bond_ip_hash() [all …]
|
| H A D | bond_netlink.c | 808 READ_ONCE(bond->params.xmit_policy))) in bond_fill_info()
|
| H A D | bond_options.c | 1599 WRITE_ONCE(bond->params.xmit_policy, newval->value); in bond_option_xmit_hash_policy_set()
|
| /linux/include/net/ |
| H A D | bonding.h | 119 int xmit_policy; member 700 bool __bond_xdp_check(int mode, int xmit_policy);
|