Thread (14 messages) flat view 14 messages, 4 authors, 2016-11-02

Re: [PATCH net-next 0/3] tools lib bpf: Synchronize implementations

From: David Ahern <hidden>
Date: 2016-11-01 20:51:44

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? 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help