]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited08e2e5e8ac86bcc599cbc912a9eeffeb2972aa
tree8c02e04def8d62371f86b88a0fa3b9eaf6f7921f
parent7b58425a7798cd5dc9b7019f48076230a53e5f7c
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