diff options
author | 2021-03-08 15:59:23 +0100 | |
---|---|---|
committer | 2021-03-08 22:45:56 +0100 | |
commit | e5e010a3063ad801cb3f85793cbada9c2a654e40 (patch) | |
tree | 30f422e6b5bc6ec5c171d11851ee679ead594ec8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bpf: BPF-helper for MTU checking add length input (diff) | |
download | wireguard-linux-e5e010a3063ad801cb3f85793cbada9c2a654e40.tar.xz wireguard-linux-e5e010a3063ad801cb3f85793cbada9c2a654e40.zip |
selftests/bpf: Tests using bpf_check_mtu BPF-helper input mtu_len param
Add tests that use mtu_len as input parameter in BPF-helper
bpf_check_mtu().
The BPF-helper is avail from both XDP and TC context. Add two tests
per context, one that tests below MTU and one that exceeds the MTU.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/161521556358.3515614.5915221479709358964.stgit@firesoul
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions