[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <66c782de-b2b0-1579-fbb0-634e05e6e511@cumulusnetworks.com>
Date: Tue, 1 Nov 2016 14:51:41 -0600
From: David Ahern <dsa@...ulusnetworks.com>
To: Joe Stringer <joe@....org>, netdev@...r.kernel.org
Cc: wangnan0@...wei.com, ast@...com
Subject: Re: [PATCH net-next 0/3] tools lib bpf: Synchronize implementations
On 10/31/16 12:39 PM, Joe Stringer wrote:
> Update tools/lib/bpf to provide more functionality and improve interoperation
> with other tools that generate and use eBPF code.
>
> The kernel uapi headers are a bit newer than the version in the tools/
> directory; synchronize those.
>
> samples/bpf/libbpf* has a bit more functionality than tools/lib/bpf, so extend
> tools/lib/bpf/bpf* with these functions to bring them into parity.
>
> tools/lib/bpf cannot read ELFs that tc can read, and vice versa. Update the
> map definition to be the same as in tc so the ELFs may be interchangeable
> (at least for now; I don't have a long-term plan in mind to ensure this always
> works).
can samples/bpf be converted to use tools/lib/bpf/libbpf.a?
Powered by blists - more mailing lists