summaryrefslogtreecommitdiff
path: root/samples/trace_events/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-05-10 10:24:43 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-11 01:44:17 +0200
commitbe5bca44aa6b37b88e900d5f5f155911d6984d86 (patch)
tree880940e6af0c8352acc8c5f2158ec1457a2dc08c /samples/trace_events/Makefile
parent17387dd5ac2c9c4e5f7d38b5affcd70e059f0a8c (diff)
downloadlinux-next-be5bca44aa6b37b88e900d5f5f155911d6984d86.tar.gz
samples: bpf: convert some XDP samples from bpf_load to libbpf
Now that we can use full powers of libbpf in BPF samples, we should perhaps make the simplest XDP programs not depend on bpf_load helpers. This way newcomers will be exposed to the recommended library from the start. Use of bpf_prog_load_xattr() will also make it trivial to later on request offload of the programs by simply adding ifindex to the xattr. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/trace_events/Makefile')
0 files changed, 0 insertions, 0 deletions