nfp: bpf: allocate vNIC priv for keeping track of the offloaded program
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 27 Dec 2017 23:36:49 +0000 (15:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Dec 2017 01:37:38 +0000 (20:37 -0500)
commit4f83435ad777358d9cdc138868feebbe2a23f577
tree1f115d07e93dc4dbb641906f4a4f13d526e0d8cb
parent4f36b935ec83e592fd5e866f382c0133b3cffc60
nfp: bpf: allocate vNIC priv for keeping track of the offloaded program

After TC offloads were converted to callbacks we have no choice
but keep track of the offloaded filter in the driver.

Since this change came a little late in the release cycle
there were a number of conflicts and allocation of vNIC priv
structure seems to have slipped away in linux-next.

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