From: Joe Stringer <j...@ovn.org> Date: Mon, 31 Oct 2016 11:39:14 -0700
> 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). Alexei and Daniel, please review.