aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBjörn Töpel <[email protected]>2021-01-22 11:53:51 +0100
committerDaniel Borkmann <[email protected]>2021-01-25 23:57:59 +0100
commit78ed4045914c63054f2f377471b5a94f7006d61e (patch)
tree760c1793a4003ec8af17d78a882e00411ef15acb /tools/perf/scripts/python/net_dropmonitor.py
parentf0863eab966b95f46f96708b25996c6615856484 (diff)
libbpf, xsk: Select AF_XDP BPF program based on kernel version
Add detection for kernel version, and adapt the BPF program based on kernel support. This way, users will get the best possible performance from the BPF program. Signed-off-by: Björn Töpel <[email protected]> Signed-off-by: Marek Majtyka <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Maciej Fijalkowski <[email protected]> Acked-by: Maciej Fijalkowski <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions