nfp: bpf: pass raw data buffer to nfp_bpf_event_output()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 26 Jul 2018 02:53:32 +0000 (19:53 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 27 Jul 2018 05:14:35 +0000 (07:14 +0200)
commit20c54204219987d620ca9da567dd54e569863dad
treea52e03eb26f5ebb18ff551b24a249ae8594ef85e
parent79ca38e80c4588adeb11a0abd116d72ab6fe0ecc
nfp: bpf: pass raw data buffer to nfp_bpf_event_output()

In preparation for SKB-less perf event handling make
nfp_bpf_event_output() take buffer address and length,
not SKB as parameters.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
drivers/net/ethernet/netronome/nfp/bpf/cmsg.c
drivers/net/ethernet/netronome/nfp/bpf/main.h
drivers/net/ethernet/netronome/nfp/bpf/offload.c