OSDN Git Service

Merge branch 'nfp-add-and-use-tunnel-netdev-helpers'
authorDavid S. Miller <davem@davemloft.net>
Thu, 8 Nov 2018 07:00:24 +0000 (23:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Nov 2018 07:00:24 +0000 (23:00 -0800)
John Hurley says:

====================
nfp: add and use tunnel netdev helpers

A recent patch introduced the function netif_is_vxlan() to verify the
tunnel type of a given netdev as vxlan.

Add a similar function to detect geneve netdevs and make use of this
function in the NFP driver. Also make use of the vxlan helper where
applicable.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge