Re: [iovisor-dev] [PATCH v3 net-next 00/12] bpf: rewrite value tracking in verifier

2017-07-04 Thread Daniel Borkmann via iovisor-dev
On 07/04/2017 09:22 PM, Edward Cree wrote: On 30/06/17 19:15, Alexei Starovoitov wrote: On 6/30/17 9:44 AM, Edward Cree wrote: I haven't measured the test_progs ones, because I *still* haven't gotten around to actually setting up a BPF toolchain (it doesn't help that I'm building

Re: [iovisor-dev] LLVM backend handling of packed structures

2017-07-04 Thread Nadav Amit via iovisor-dev
Y Song wrote: > On Mon, Jul 3, 2017 at 8:23 PM, Nadav Amit via iovisor-dev > wrote: >> I get a strange phenomenon with packed structs in which each byte is >> loaded in a different instruction. >> > > This is expected from current llvm

Re: [iovisor-dev] LLVM backend handling of packed structures

2017-07-04 Thread Y Song via iovisor-dev
On Mon, Jul 3, 2017 at 8:23 PM, Nadav Amit via iovisor-dev wrote: > I get a strange phenomenon with packed structs in which each byte is > loaded in a different instruction. > > Consider for example xdp_prog1 for Linux samples. After building it, the > disassembly