Re: [PATCH bpf-next v2 2/2] samples/bpf: Add xdp_sample_pkts example
From: Daniel Borkmann <daniel@iogearbox.net> Date: 2018-06-04 23:43:21
On 06/05/2018 12:32 AM, Jakub Kicinski wrote:
On Mon, 04 Jun 2018 18:33:56 +0200, Toke Høiland-Jørgensen wrote:
quoted
+ if (load_bpf_file(filename)) {
Would you mind using libbpf instead of bpf_load.o? I converted some
samples in be5bca44aa6b ("samples: bpf: convert some XDP samples from
bpf_load to libbpf"), it's pretty straight forward. Maybe we can kill
bpf_load.o one day :)
Agreed, we should only be using libbpf going forward.