diff options
author | John Fastabend <john.fastabend@gmail.com> | 2017-07-17 09:27:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-17 09:48:06 -0700 |
commit | 832622e6bd1884c95475094941914969ff82b329 (patch) | |
tree | 26e3b2c3d653cbea952800e7323d7c7f8c77b8e3 /COPYING | |
parent | 814abfabef3ceed390c10d06a0cc69a86454b6cf (diff) |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions