Re: [bpf-next PATCH v3 0/2] bpftool support for sockmap use cases

2018-10-15 Thread Alexei Starovoitov
On Mon, Oct 15, 2018 at 11:19:44AM -0700, John Fastabend wrote: > The first patch adds support for attaching programs to maps. This is > needed to support sock{map|hash} use from bpftool. Currently, I carry > around custom code to do this so doing it using standard bpftool will > be great. > >

[bpf-next PATCH v3 0/2] bpftool support for sockmap use cases

2018-10-15 Thread John Fastabend
The first patch adds support for attaching programs to maps. This is needed to support sock{map|hash} use from bpftool. Currently, I carry around custom code to do this so doing it using standard bpftool will be great. The second patch adds a compat mode to ignore non-zero entries in the map def.