Re: [bpf-next PATCH 0/5] tools/libbpf improvements and selftests

2018-02-04 Thread Daniel Borkmann
On 02/04/2018 10:19 AM, Jesper Dangaard Brouer wrote: > On Thu, 1 Feb 2018 18:56:14 +0100 > Daniel Borkmann wrote: > >> Don't get me wrong, I'm not at all against such tool or test, I think >> it's a great idea and needed. I just think that tools/lib/bpf/ is not >> the right place to put it into

Re: [bpf-next PATCH 0/5] tools/libbpf improvements and selftests

2018-02-04 Thread Jesper Dangaard Brouer
On Thu, 1 Feb 2018 18:56:14 +0100 Daniel Borkmann wrote: > Don't get me wrong, I'm not at all against such tool or test, I think > it's a great idea and needed. I just think that tools/lib/bpf/ is not > the right place to put it into lib directory. Right now, as you say, > it's a mixture of examp

Re: [bpf-next PATCH 0/5] tools/libbpf improvements and selftests

2018-02-01 Thread Daniel Borkmann
On 02/01/2018 03:41 PM, Jesper Dangaard Brouer wrote: > On Thu, 1 Feb 2018 11:59:29 +0100 > Daniel Borkmann wrote: > >> Hi Jesper, >> >> On 01/27/2018 06:26 PM, Jesper Dangaard Brouer wrote: >>> While playing with using libbpf for the Suricata project, we had >>> issues LLVM >= 4.0.1 generating E

Re: [bpf-next PATCH 0/5] tools/libbpf improvements and selftests

2018-02-01 Thread Jesper Dangaard Brouer
On Thu, 1 Feb 2018 11:59:29 +0100 Daniel Borkmann wrote: > Hi Jesper, > > On 01/27/2018 06:26 PM, Jesper Dangaard Brouer wrote: > > While playing with using libbpf for the Suricata project, we had > > issues LLVM >= 4.0.1 generating ELF files that could not be loaded > > with libbpf (tools/lib/b

Re: [bpf-next PATCH 0/5] tools/libbpf improvements and selftests

2018-02-01 Thread Daniel Borkmann
Hi Jesper, On 01/27/2018 06:26 PM, Jesper Dangaard Brouer wrote: > While playing with using libbpf for the Suricata project, we had > issues LLVM >= 4.0.1 generating ELF files that could not be loaded > with libbpf (tools/lib/bpf/). > > During the troubleshooting phase, I wrote a test program and