Skip to content

Split UFO into v4 and v6 versions.

Vladislav Yasevich netdev virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 33 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10core: Split out UFO6 supportinclude/linux/netdev_features.h include/linux/netdevice.h include/linux/skbuff.h +2 more+27 -190 replies
1/10core: Split out UFO6 supportinclude/linux/netdev_features.h include/linux/netdevice.h include/linux/skbuff.h +2 more+27 -1913 replies
2/10net: Correctly mark IPv6 UFO offload type.net/ipv6/ip6_offload.c net/ipv6/ip6_output.c net/ipv6/udp_offload.c +1 more+6 -30 replies
2/10net: Correctly mark IPv6 UFO offload type.net/ipv6/ip6_offload.c net/ipv6/ip6_output.c net/ipv6/udp_offload.c +1 more+6 -30 replies
3/10ovs: Enable handling of UFO6 packets.net/openvswitch/datapath.c net/openvswitch/flow.c+3 -23 replies
4/10loopback: Turn on UFO6 support.drivers/net/loopback.c+2 -20 replies
4/10loopback: Turn on UFO6 support.drivers/net/loopback.c+2 -20 replies
5/10veth: Enable UFO6 support.drivers/net/veth.c+1 -10 replies
5/10veth: Enable UFO6 support.drivers/net/veth.c+1 -10 replies
6/10macvlan: Enable UFO6 support.drivers/net/macvlan.c+1 -10 replies
6/10macvlan: Enable UFO6 support.drivers/net/macvlan.c+1 -10 replies
7/10s2io: Enable UFO6 support.drivers/net/ethernet/neterion/s2io.c+3 -30 replies
7/10s2io: Enable UFO6 support.drivers/net/ethernet/neterion/s2io.c+3 -30 replies
8/10tun: Re-uanble UFO support.drivers/net/tun.c+14 -120 replies
8/10tun: Re-uanble UFO support.drivers/net/tun.c+14 -124 replies
9/10macvtap: Re-enable UFO supportdrivers/net/macvtap.c+14 -60 replies
9/10macvtap: Re-enable UFO supportdrivers/net/macvtap.c+14 -65 replies
10/10Revert "drivers/net: Disable UFO through virtio"drivers/net/virtio_net.c+10 -140 replies
10/10Revert "drivers/net: Disable UFO through virtio"drivers/net/virtio_net.c+10 -141 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] Split UFO into v4 and v6 versions.

UFO support in the kernel applies to both IPv4 and IPv6 protocols with the same device feature. However some devices may not be able to support one of the offloads. For this we split the UFO offload feature into 2 pieces. NETIF_F_UFO now controlls the IPv4 part and this series introduces NETIF_F_UFO6.

As a result of this work, we can now re-enable NETIF_F_UFO on virtio_net devices and restore UDP over IPv4 performance for guests. We also continue to support legacy guests that assume that UFO6 support included into UFO(4).

Without this work, migrating a guest to a 3.18 kernel fails.

Vladislav Yasevich (10):
core: Split out UFO6 support
net: Correctly mark IPv6 UFO offload type.
ovs: Enable handling of UFO6 packets.
loopback: Turn on UFO6 support.
veth: Enable UFO6 support.
macvlan: Enable UFO6 support.
s2io: Enable UFO6 support.
tun: Re-uanble UFO support.
macvtap: Re-enable UFO support
Revert "drivers/net: Disable UFO through virtio"

 drivers/net/ethernet/neterion/s2io.c |  6 +++---
 drivers/net/loopback.c               |  4 ++--
 drivers/net/macvlan.c                |  2 +-
 drivers/net/macvtap.c                | 20 ++++++++++++++------
 drivers/net/tun.c                    | 26 ++++++++++++++------------
 drivers/net/veth.c                   |  2 +-
 drivers/net/virtio_net.c             | 24 ++++++++++--------------
 include/linux/netdev_features.h      |  7 +++++--
 include/linux/netdevice.h            |  1 +
 include/linux/skbuff.h               |  1 +
 net/core/dev.c                       | 35 +++++++++++++++++++----------------
 net/core/ethtool.c                   |  2 +-
 net/ipv6/ip6_offload.c               |  1 +
 net/ipv6/ip6_output.c                |  4 ++--
 net/ipv6/udp_offload.c               |  3 ++-
 net/mpls/mpls_gso.c                  |  1 +
 net/openvswitch/datapath.c           |  3 ++-
 net/openvswitch/flow.c               |  2 +-
 18 files changed, 81 insertions(+), 63 deletions(-)
Signature · 1 line
1.9.3