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)
commit9d6e005287ee23c7e25b04f4ad007bdbaf4fc438
tree68690d84b82c26f35be237fa8a37f345255f51f8
parent2ddf71e23cc246e95af72a6deed67b4a50a7b81c
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