summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/ringbuf.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2022-03-09 13:53:46 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-03-10 01:19:23 +0300
commit55fcacca36468801e62e1d9cc81e5870eea620ba (patch)
tree40d6fee68c036e60785dc760569091b1b5fa74fd /tools/lib/bpf/ringbuf.c
parenta30338840fa5c6e400673b7d8a31323280bfd521 (diff)
downloadlinux-55fcacca36468801e62e1d9cc81e5870eea620ba.tar.xz
selftests/bpf: Add selftest for XDP_REDIRECT in BPF_PROG_RUN
This adds a selftest for the XDP_REDIRECT facility in BPF_PROG_RUN, that redirects packets into a veth and counts them using an XDP program on the other side of the veth pair and a TC program on the local side of the veth. Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/20220309105346.100053-6-toke@redhat.com
Diffstat (limited to 'tools/lib/bpf/ringbuf.c')
0 files changed, 0 insertions, 0 deletions