aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Fastabend <[email protected]>2017-07-17 09:27:28 -0700
committerDavid S. Miller <[email protected]>2017-07-17 09:48:06 -0700
commit832622e6bd1884c95475094941914969ff82b329 (patch)
tree26e3b2c3d653cbea952800e7323d7c7f8c77b8e3 /tools/perf/scripts/python
parent814abfabef3ceed390c10d06a0cc69a86454b6cf (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 <[email protected]> Tested-by: Andy Gospodarek <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions