diff options
author | John Hurley <john.hurley@netronome.com> | 2018-11-07 21:32:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-08 10:00:23 +0300 |
commit | e963e1097ad3c9f2062e10356af8c89de245c6b2 (patch) | |
tree | aca63716df3fdd8a81fac9ae6c7985cedf870b91 /drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c | |
parent | 83f27d027da3a1d4fff95fd66df0c0100b66ae4c (diff) | |
download | linux-e963e1097ad3c9f2062e10356af8c89de245c6b2.tar.xz |
nfp: flower: include geneve as supported offload tunnel type
Offload of geneve decap rules is supported in NFP. Include geneve in the
check for supported types.
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>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c b/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c index fb6442d820b5..5d641d7dabff 100644 --- a/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c +++ b/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c @@ -190,6 +190,8 @@ static bool nfp_tun_is_netdev_to_offload(struct net_device *netdev) return true; if (netif_is_vxlan(netdev)) return true; + if (netif_is_geneve(netdev)) + return true; return false; } |