[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87muw9fv2h.fsf@toke.dk>
Date: Tue, 05 Jun 2018 11:20:54 +0200
From: Toke Høiland-Jørgensen <toke@...e.dk>
To: Daniel Borkmann <daniel@...earbox.net>,
Jakub Kicinski <kubakici@...pl>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next v2 2/2] samples/bpf: Add xdp_sample_pkts example
Daniel Borkmann <daniel@...earbox.net> writes:
> 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:
>>> + 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.
Right, I'll rework to load using libbpf instead.
Powered by blists - more mailing lists