aboutsummaryrefslogtreecommitdiffstats
path: root/samples/kdb
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2017-07-17 09:27:28 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-17 09:48:06 -0700
commit832622e6bd1884c95475094941914969ff82b329 (patch)
tree26e3b2c3d653cbea952800e7323d7c7f8c77b8e3 /samples/kdb
parentxdp: add bpf_redirect helper function (diff)
downloadlinux-dev-832622e6bd1884c95475094941914969ff82b329.tar.xz
linux-dev-832622e6bd1884c95475094941914969ff82b329.zip
xdp: sample program for new bpf_redirect helper
This implements a sample program for testing bpf_redirect. It reports the number of packets redirected per second and as input takes the ifindex of the device to run the xdp program on and the ifindex of the interface to redirect packets to. 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>
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions