nfp: register flower reprs for egress dev offload
authorJohn Hurley <john.hurley@netronome.com>
Fri, 17 Nov 2017 01:06:42 +0000 (17:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Nov 2017 05:09:36 +0000 (14:09 +0900)
commit1a24d4f9c07cc5b9d2207cd84236dff3048438e5
tree8c02e04def8d62371f86b88a0fa3b9eaf6f7921f
parent743ba5b47f7961fb29f2e06bb694fb4f068ac58f
nfp: register flower reprs for egress dev offload

Register a callback for offloading flows that have a repr as their egress
device. The new egdev_register function is added to net-next for the 4.15
release.

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