]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'udp-tunnel-offloads-toggle'
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 20:53:00 +0000 (13:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 20:53:00 +0000 (13:53 -0700)
commitc122b93aff5fc1574825985649c8c0b19537fe6d
treee4255fa3fe60e72404faf07f2ce5c1469e219cd7
parenta29f389813c8ffaa02132fd7c2074ef4b89fc934
parent42b3a31809d5256f408aa81ec96f06992e4e02e7
Merge branch 'udp-tunnel-offloads-toggle'

Sabrina Dubroca says:

====================
Allow to switch off UDP-based tunnel offloads per netdevice

This patchset adds a new netdevice feature to toggle RX offloads of
UDP-based tunnel via ethtool. This is useful if the offload is causing
issues, for example if the hardware is buggy.

The feature is added to all devices providing the ->ndo_udp_tunnel_add
op, and enabled by default to preserve current behavior.

When the administrator disables this feature on a device, all
currently offloaded ports are cleared from the device.  When the
feature is turned on, the stack notifies the device about all current
ports.

v2:
 - rename feature bit to NETIF_F_RX_UDP_TUNNEL_PORT
 - rename ethtool feature to rx-udp_tunnel-port-offload
====================

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