nfp: bpf: encode indirect commands
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 1 Dec 2017 05:32:56 +0000 (21:32 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 1 Dec 2017 19:59:20 +0000 (20:59 +0100)
commit5468a8b929e6276e139405d525c963a56890b5e0
tree0d9456ecbfb636428198cc88a55b4b7780c7abe7
parent3239e7bb28a8a4a96c36beeaa6439666e1ed4f8b
nfp: bpf: encode indirect commands

Add support for emitting commands with field overwrites.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
drivers/net/ethernet/netronome/nfp/bpf/jit.c
drivers/net/ethernet/netronome/nfp/nfp_asm.h