diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-05-10 10:24:43 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-05-11 01:44:17 +0200 |
commit | be5bca44aa6b37b88e900d5f5f155911d6984d86 (patch) | |
tree | 880940e6af0c8352acc8c5f2158ec1457a2dc08c /init | |
parent | 17387dd5ac2c9c4e5f7d38b5affcd70e059f0a8c (diff) | |
download | linux-be5bca44aa6b37b88e900d5f5f155911d6984d86.tar.gz linux-be5bca44aa6b37b88e900d5f5f155911d6984d86.tar.bz2 linux-be5bca44aa6b37b88e900d5f5f155911d6984d86.zip |
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 'init')
0 files changed, 0 insertions, 0 deletions