nfp: bring back support for offloading shared blocks
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 21 Jul 2018 04:14:38 +0000 (21:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jul 2018 17:58:52 +0000 (10:58 -0700)
commit042f8825569d628517784d558aefe23c212f0fb2
tree244a4db0ce68407dc4037caf7ee98d1d6aa83190
parent2d408c0d4574b01b9ed45e02516888bf925e11a9
nfp: bring back support for offloading shared blocks

Now that we have offload replay infrastructure added by
commit 326367427cc0 ("net: sched: call reoffload op on block callback reg")
and flows are guaranteed to be removed correctly, we can revert
commit 951a8ee6def3 ("nfp: reject binding to shared blocks").

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: John Hurley <john.hurley@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/bpf/main.c
drivers/net/ethernet/netronome/nfp/flower/offload.c
include/net/pkt_cls.h