samples: bpf: convert xdp_fwd_user.c to libbpf
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 26 Jul 2018 21:32:20 +0000 (14:32 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 27 Jul 2018 05:18:44 +0000 (07:18 +0200)
commite1a40ef418ca2d0ffb6d22f84a13cb0df66cf83c
tree0d6f1f91bed7f87a8af4dbaa95aa4f20b0fd6b1c
parent6d4b198b0b23ca2a75785173a9b27afd1eee7040
samples: bpf: convert xdp_fwd_user.c to libbpf

Convert xdp_fwd_user.c to use libbpf instead of bpf_load.o.

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>
samples/bpf/Makefile
samples/bpf/xdp_fwd_user.c