diff options
author | David S. Miller <davem@davemloft.net> | 2017-07-24 23:53:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-24 23:53:00 +0300 |
commit | 56eda01d5348bd8b90fb32985b4b3d4b59c88ff2 (patch) | |
tree | e4255fa3fe60e72404faf07f2ce5c1469e219cd7 /net/sctp/sm_make_chunk.c | |
parent | 5b861f6baa3a22a48d7a4ad0ce38a223d36c978a (diff) | |
parent | 04584957b5f9b036caa9603525e12d1840d42d58 (diff) | |
download | linux-56eda01d5348bd8b90fb32985b4b3d4b59c88ff2.tar.xz |
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>
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
0 files changed, 0 insertions, 0 deletions