diff options
author | Stanislav Fomichev <[email protected]> | 2023-12-04 09:44:23 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-12-05 15:11:24 +0100 |
commit | 5ffb260f754bf838507fe0c23d05254b33e2bf3d (patch) | |
tree | 7f8ad0d113c75357f2f759c58aec83cbf185be84 /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
parent | 5c399ae080ae507954f6f2efefc7349f8ed0e051 (diff) |
selftests/bpf: Make sure we trigger metadata kfuncs for dst 8080
xdp_metadata test is flaky sometimes:
verify_xsk_metadata:FAIL:rx_hash_type unexpected rx_hash_type: actual 8 != expected 0
Where 8 means XDP_RSS_TYPE_L4_ANY and is exported from veth driver only when
'skb->l4_hash' condition is met. This makes me think that the program is
triggering again for some other packet.
Let's have a filter, similar to xdp_hw_metadata, where we trigger XDP kfuncs
only for UDP packets destined to port 8080.
Signed-off-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions