netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] Allow to switch off UDP-based tunnel offloads per netdevice
@ 2017-06-30 13:19 Sabrina Dubroca
  2017-06-30 13:19 ` [PATCH net-next 1/6] net: add new netdevice feature for tunnel offloading Sabrina Dubroca
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Sabrina Dubroca @ 2017-06-30 13:19 UTC (permalink / raw)
  To: netdev; +Cc: Jiri Benc, Hannes Frederic Sowa, Sabrina Dubroca

This patchset adds a new netdevice feature to toggle tunnel offloads
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.

Sabrina Dubroca (6):
  net: add new netdevice feature for tunnel offloading
  net: check tunnel offload feature before calling tunnel ndo ndo
  net: add infrastructure to un-offload UDP tunnel port
  net: call udp_tunnel_get_rx_info when NETIF_F_TUNNEL_OFFLOAD is
    toggled
  geneve/vxlan: add support for NETDEV_UDP_TUNNEL_DROP_INFO
  geneve/vxlan: offload ports on register/unregister events

 drivers/net/geneve.c            | 24 ++++++++++++++++++------
 drivers/net/vxlan.c             | 31 ++++++++++++++++++++++---------
 include/linux/netdev_features.h |  2 ++
 include/linux/netdevice.h       |  1 +
 include/net/udp_tunnel.h        |  8 ++++++++
 net/core/dev.c                  | 28 +++++++++++++++++++++++++++-
 net/core/ethtool.c              |  1 +
 net/ipv4/udp_tunnel.c           | 25 ++++++++++++++++++++++++-
 8 files changed, 103 insertions(+), 17 deletions(-)

-- 
2.13.2

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-07-04 14:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-30 13:19 [PATCH net-next 0/6] Allow to switch off UDP-based tunnel offloads per netdevice Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 1/6] net: add new netdevice feature for tunnel offloading Sabrina Dubroca
2017-06-30 15:50   ` Jiri Benc
2017-07-04 14:37     ` Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 2/6] net: check tunnel offload feature before calling tunnel ndo ndo Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 3/6] net: add infrastructure to un-offload UDP tunnel port Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 4/6] net: call udp_tunnel_get_rx_info when NETIF_F_TUNNEL_OFFLOAD is toggled Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 5/6] geneve/vxlan: add support for NETDEV_UDP_TUNNEL_DROP_INFO Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 6/6] geneve/vxlan: offload ports on register/unregister events Sabrina Dubroca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).