]> git.baikalelectronics.ru Git - kernel.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)
commitef344f97229dbf3b65c4cc96f8020252bb9516f0
tree97ec50d56f42f47e6d46e670243c9b0c683a7443
parenta29f389813c8ffaa02132fd7c2074ef4b89fc934
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