Skip to contentSkip to conversation

VXLAN: segmentation offload

PATCH In review Pravin B Shelar 3 participants 3 messages Mar 7, 2013 – Mar 9, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover VXLAN: segmentation offload

Following patches add segmentation offload to VXLAN. These patches shows performance improvement from 3.9G to 5.8G (+50%) with netperf single process TCP_STREAM test on 10G network.

Pravin B Shelar (4):
net: Add skb_headers_offset_update helper function.
tunneling: Capture inner mac header during encapsulation.
tunneling: Add generic Tunnel segmentation.
VXLAN: Use UDP Tunnel segmention.

 drivers/net/vxlan.c             |   21 ++++++-
 include/linux/netdev_features.h |    7 +-
 include/linux/skbuff.h          |   36 ++++++++++++
 net/core/ethtool.c              |    1 +
 net/core/skbuff.c               |   36 +++++-------
 net/ipv4/af_inet.c              |    6 ++-
 net/ipv4/tcp.c                  |    1 +
 net/ipv4/udp.c                  |  116 ++++++++++++++++++++++++++++++--------
 net/ipv6/ip6_offload.c          |    1 +
 net/ipv6/udp_offload.c          |   10 +++-
 10 files changed, 181 insertions(+), 54 deletions(-)
Acked-by on the v1 series
#1 lore raw
Quoted 22 lines · On Thu, 7 Mar 2013 15:21:30 -0800 Pravin B Shelar <[email protected]> wrote:

Following patches add segmentation offload to VXLAN. These patches shows performance improvement from 3.9G to 5.8G (+50%) with netperf single process TCP_STREAM test on 10G network.

Pravin B Shelar (4):
net: Add skb_headers_offset_update helper function.
tunneling: Capture inner mac header during encapsulation.
tunneling: Add generic Tunnel segmentation.
VXLAN: Use UDP Tunnel segmention.

 drivers/net/vxlan.c             |   21 ++++++-
 include/linux/netdev_features.h |    7 +-
 include/linux/skbuff.h          |   36 ++++++++++++
 net/core/ethtool.c              |    1 +
 net/core/skbuff.c               |   36 +++++-------
 net/ipv4/af_inet.c              |    6 ++-
 net/ipv4/tcp.c                  |    1 +
 net/ipv4/udp.c                  |  116 ++++++++++++++++++++++++++++++--------
 net/ipv6/ip6_offload.c          |    1 +
 net/ipv6/udp_offload.c          |   10 +++-
 10 files changed, 181 insertions(+), 54 deletions(-)
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Looks good, I wonder how well this will work with vendors plans to offload segmentation of tunnel packets in hardware?

maintainer
#2 lore raw
In reply to Pravin B Shelar

From: Pravin B Shelar <[email protected]>
Date: Thu, 7 Mar 2013 15:21:30 -0800

Quoted 3 lines

Following patches add segmentation offload to VXLAN. These patches shows performance improvement from 3.9G to 5.8G (+50%) with netperf single process TCP_STREAM test on 10G network.

Series applied.