nfp: move basic eBPF stats to app-specific code
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 31 May 2017 15:06:50 +0000 (08:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 May 2017 21:58:13 +0000 (17:58 -0400)
commitc66a9cf408037781fc1984bc60785049b453d8a4
treec22396bb01b92c140f5965f0dc60c12f726ae1b3
parentbb45e51cb0f8fea496eb2d6a9ef2ffb5da564048
nfp: move basic eBPF stats to app-specific code

Allow apps to associate private data with vNICs and move
BPF-specific fields of nfp_net to such structure.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/bpf/main.c
drivers/net/ethernet/netronome/nfp/bpf/main.h
drivers/net/ethernet/netronome/nfp/bpf/offload.c
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c