Re: [PATCH net-next 00/13] nfp: bpf: jump resolution and memcpy update

2017-12-01 Thread Daniel Borkmann
On 12/01/2017 06:32 AM, Jakub Kicinski wrote: > Hi! > > Jiong says: > > Currently, compiler will lower memcpy function call in XDP/eBPF C program > into a sequence of eBPF load/store pairs for some scenarios. > > Compiler is thinking this "inline" optimiation is beneficial as it could > avoid fu

[PATCH net-next 00/13] nfp: bpf: jump resolution and memcpy update

2017-11-30 Thread Jakub Kicinski
Hi! Jiong says: Currently, compiler will lower memcpy function call in XDP/eBPF C program into a sequence of eBPF load/store pairs for some scenarios. Compiler is thinking this "inline" optimiation is beneficial as it could avoid function call and also increase code locality. However, Netronome