Re: [PATCHv6 net-next 08/15] nfp: add BPF to NFP code translator

2016-09-18 Thread Daniel Borkmann
On 09/18/2016 05:09 PM, Jakub Kicinski wrote: Add translator for JITing eBPF to operations which can be executed on NFP's programmable engines. Signed-off-by: Jakub Kicinski --- v6: - explicitly check for registers >= MAX_BPF_REG; - fix mem leak. Set looks

[PATCHv6 net-next 08/15] nfp: add BPF to NFP code translator

2016-09-18 Thread Jakub Kicinski
Add translator for JITing eBPF to operations which can be executed on NFP's programmable engines. Signed-off-by: Jakub Kicinski --- v6: - explicitly check for registers >= MAX_BPF_REG; - fix mem leak. v4: - use bitfield.h directly. v3: - don't clone the program