]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: flower: netdev offload check for ip6gretap
authorDanie du Toit <danie.dutoit@corigine.com>
Thu, 17 Feb 2022 12:48:20 +0000 (14:48 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Feb 2022 17:50:45 +0000 (09:50 -0800)
commitc88beab9d7c4a0e77cc5010d77a9875bf6dce6b4
treea0db7f96c5de4c4ae90ca63d79a08d152625f544
parenta67e4abe4209a040ca6cfe6c55caffd246cfcb69
nfp: flower: netdev offload check for ip6gretap

IPv6 GRE tunnels are not being offloaded, this is caused by a missing
netdev offload check. The functionality of IPv6 GRE tunnel offloading
was previously added but this check was not included. Adding the
ip6gretap check allows IPv6 GRE tunnels to be offloaded correctly.

Fixes: 57d5a5cb676b ("nfp: flower: Allow ipv6gretap interface for offloading")
Signed-off-by: Danie du Toit <danie.dutoit@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220217124820.40436-1-louis.peens@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/netronome/nfp/flower/cmsg.h