summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome/nfp/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-01-11 20:29:11 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-14 23:36:30 +0100
commitd48ae231c5e13d98e3664443c6342c2011f5df2b (patch)
tree058ec5ca9014b492115bf33b7daf0b723c47ba2c /drivers/net/ethernet/netronome/nfp/Makefile
parent4da98eea7903670d7b1d9ac83bbc6502a60bf0fd (diff)
downloadblackbird-op-linux-d48ae231c5e13d98e3664443c6342c2011f5df2b.tar.gz
blackbird-op-linux-d48ae231c5e13d98e3664443c6342c2011f5df2b.zip
nfp: bpf: add basic control channel communication
For map support we will need to send and receive control messages. Add basic support for sending a message to FW, and waiting for a reply. Control messages are tagged with a 16 bit ID. Add a simple ID allocator and make sure we don't allow too many messages in flight, to avoid request <> reply mismatches. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/Makefile')
-rw-r--r--drivers/net/ethernet/netronome/nfp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/Makefile b/drivers/net/ethernet/netronome/nfp/Makefile
index 6e5ef984398b..064f00e23a19 100644
--- a/drivers/net/ethernet/netronome/nfp/Makefile
+++ b/drivers/net/ethernet/netronome/nfp/Makefile
@@ -44,6 +44,7 @@ endif
ifeq ($(CONFIG_BPF_SYSCALL),y)
nfp-objs += \
+ bpf/cmsg.o \
bpf/main.o \
bpf/offload.o \
bpf/verifier.o \
OpenPOWER on IntegriCloud