]> git.baikalelectronics.ru Git - kernel.git/commit
xdp: bpf redirect with map sample program
authorJohn Fastabend <john.fastabend@gmail.com>
Mon, 17 Jul 2017 16:30:25 +0000 (09:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 16:48:06 +0000 (09:48 -0700)
commita155eb1c3c06db801e496f34aa21e59898226567
tree68690d84b82c26f35be237fa8a37f345255f51f8
parent570d00d0f5687c24e02aa98eb65848af1d276870
xdp: bpf redirect with map sample program

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Tested-by: Andy Gospodarek <andy@greyhouse.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/Makefile
samples/bpf/xdp_redirect_map_kern.c [new file with mode: 0644]
samples/bpf/xdp_redirect_map_user.c [new file with mode: 0644]
tools/testing/selftests/bpf/bpf_helpers.h