bpf, nfp: implement jiting of BPF_J{LT,LE}
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 9 Aug 2017 23:40:01 +0000 (01:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 23:53:57 +0000 (16:53 -0700)
commit5dd294d4eb634a5f4c877dc487e83f975aa05c11
tree21b3014f7178043f49f7ee87adac8c92ff3dee3a
parent20dbf5ccbb27850a129695d4590f22a7e5459798
bpf, nfp: implement jiting of BPF_J{LT,LE}

This work implements jiting of BPF_J{LT,LE} instructions with
BPF_X/BPF_K variants for the nfp eBPF JIT. The two BPF_J{SLT,SLE}
instructions have not been added yet given BPF_J{SGT,SGE} are
not supported yet either.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/bpf/jit.c