]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: add new netdevice feature for offload of RX port for UDP tunnels
authorSabrina Dubroca <sd@queasysnail.net>
Fri, 21 Jul 2017 10:49:28 +0000 (12:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 20:52:59 +0000 (13:52 -0700)
commitd764a122cc7af7ab1c40c08745f0fcd33cc2f7db
tree97ec50d56f42f47e6d46e670243c9b0c683a7443
parent5b861f6baa3a22a48d7a4ad0ce38a223d36c978a
net: add new netdevice feature for offload of RX port for UDP tunnels

This adds a new netdevice feature, so that the offloading of RX port for
UDP tunnels can be disabled by the administrator on some netdevices,
using the "rx-udp_tunnel-port-offload" feature in ethtool.

This feature is set for all devices that provide ndo_udp_tunnel_add.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdev_features.h
net/core/dev.c
net/core/ethtool.c