nfp: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_*
authorJiong Wang <jiong.wang@netronome.com>
Wed, 5 Dec 2018 18:52:33 +0000 (13:52 -0500)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 7 Dec 2018 21:30:48 +0000 (13:30 -0800)
commit84708c1386770e957347d847522a4aac22ea04dc
tree120118beaa86d57206628a0af5ad5dfe998dfdbd
parentf860203b010ab11995b3073a96cc0d04e520129e
nfp: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_*

BPF_X support needs indirect shift mode, please see code comments for
details.

Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
drivers/net/ethernet/netronome/nfp/bpf/jit.c