Re: [PATCH bpf-next] tools: bpftool: use 4 context mode for the NFP disasm

2018-10-18 Thread Daniel Borkmann
On 10/18/2018 08:34 PM, Jakub Kicinski wrote: > The nfp driver is currently always JITing the BPF for 4 context/thread > mode of the NFP flow processors. Tell this to the disassembler, > otherwise some registers may be incorrectly decoded. > > Signed-off-by: Jakub Kicinski > Reviewed-by: Jiong W

[PATCH bpf-next] tools: bpftool: use 4 context mode for the NFP disasm

2018-10-18 Thread Jakub Kicinski
The nfp driver is currently always JITing the BPF for 4 context/thread mode of the NFP flow processors. Tell this to the disassembler, otherwise some registers may be incorrectly decoded. Signed-off-by: Jakub Kicinski Reviewed-by: Jiong Wang --- tools/bpf/bpftool/common.c | 5 - tools