diff options
author | 2018-11-07 18:32:48 +0000 | |
---|---|---|
committer | 2018-11-07 23:00:23 -0800 | |
commit | 1d10bd167667655362a7e2b407a96aad5979bfca (patch) | |
tree | 3cfbd2c54d0bedfffe0eaf438b2534155ec4cd3e /include/linux/udp.h | |
parent | sfc: add missing NVRAM partition types for EF10 (diff) | |
download | wireguard-linux-1d10bd167667655362a7e2b407a96aad5979bfca.tar.xz wireguard-linux-1d10bd167667655362a7e2b407a96aad5979bfca.zip |
net: add netif_is_geneve()
Add a helper function to determine if the type of a netdev is geneve based
on its rtnl_link_ops. This allows drivers that may wish to offload tunnels
to check the underlying type of the device.
A recent patch added a similar helper to vxlan.h
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 'include/linux/udp.h')
0 files changed, 0 insertions, 0 deletions