Re: [net-next PATCH V2 3/5] samples/bpf: add a README file to get users started

2016-04-26 Thread Jesper Dangaard Brouer
On Tue, 26 Apr 2016 10:31:06 -0700 Alexei Starovoitov wrote: > On Tue, Apr 26, 2016 at 06:27:22PM +0200, Jesper Dangaard Brouer wrote: > > + > > +Manually compiling LLVM with 'bpf' support > > +-- > > + > > +In some LLVM versions the BPF target were marked

Re: [net-next PATCH V2 3/5] samples/bpf: add a README file to get users started

2016-04-26 Thread Alexei Starovoitov
On Tue, Apr 26, 2016 at 06:27:22PM +0200, Jesper Dangaard Brouer wrote: > + > +Manually compiling LLVM with 'bpf' support > +-- > + > +In some LLVM versions the BPF target were marked experimental. They > +needed the 'cmake .. -DLLVM_EXPERIMENTAL_TARGETS_TO_B

[net-next PATCH V2 3/5] samples/bpf: add a README file to get users started

2016-04-26 Thread Jesper Dangaard Brouer
Getting started with using examples in samples/bpf/ is not straightforward. There are several dependencies, and specific versions of these dependencies. Just compiling the example tool is also slightly obscure, e.g. one need to call make like: make samples/bpf/ Do notice the "/" slash after th