nfp: add BPF to NFP code translator
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 21 Sep 2016 10:44:00 +0000 (11:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 23:50:02 +0000 (19:50 -0400)
commitcd7df56ed3e60d046ddb3acd987778c00aa9ee33
treee6653dbf385c2b8e15e1ecadd1332106957a84a7
parent6b17387307bafc71624b9890b9239b6a438e2e89
nfp: add BPF to NFP code translator

Add translator for JITing eBPF to operations which
can be executed on NFP's programmable engines.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/Makefile
drivers/net/ethernet/netronome/nfp/nfp_asm.h [new file with mode: 0644]
drivers/net/ethernet/netronome/nfp/nfp_bpf.h [new file with mode: 0644]
drivers/net/ethernet/netronome/nfp/nfp_bpf_jit.c [new file with mode: 0644]
drivers/net/ethernet/netronome/nfp/nfp_bpf_verifier.c [new file with mode: 0644]