mbox series

[ovs-dev,V3,0/4] userspace: enable VXLAN TSO, GSO and GRO

Message ID 20200807105648.94860-1-yang_y_yi@163.com
Headers show
Series userspace: enable VXLAN TSO, GSO and GRO | expand


yang_y_yi Aug. 7, 2020, 10:56 a.m. UTC
From: Yi Yang <yangyi01@inspur.com>

Many NICs can support VXLAN TSO, this can improve
VM-to-VM TCP performance, but for UDP, most of NICs
can offload UFO, so GSO is very necessary for UDP
when userspace TSO is enabled, GSO also can do
VXLAN TSO if NIC can't support it. GRO is necessary
if TSO and UFO are enabled, it can avoid plenty of

This patch series fix all the aforementioned issues.
By the way, GSO and GRO needs DPDK to apply two patches
I have sent out to dev@dpdk.org.

[1] https://patches.dpdk.org/patch/72508/
[2] https://patches.dpdk.org/patch/72509/

In addtion, GSO has mbuf free issue, this is DPDK defect,
a fix series have been posted to dev@dpdk.org.

[3] https://patches.dpdk.org/patch/75036/
[4] https://patches.dpdk.org/patch/75035/
[5] https://patches.dpdk.org/patch/75037/

Yi Yang (4):
  Enable VXLAN TSO for DPDK datapath
  Add GSO support for DPDK data path
  Add VXLAN TCP and UDP GRO support for DPDK data path
  Update Documentation/topics/userspace-tso.rst

 Documentation/topics/userspace-tso.rst |  13 +-
 lib/dp-packet.h                        | 134 +++++-
 lib/netdev-dpdk.c                      | 759 +++++++++++++++++++++++++++++++--
 lib/netdev-linux.c                     | 149 ++++++-
 lib/netdev-provider.h                  |   1 +
 lib/netdev.c                           | 116 ++++-
 6 files changed, 1109 insertions(+), 63 deletions(-)