This is a subset of the larger TSO patchset with various checksum
improvements. This set includes additional documentation, new appctl
command "dpif-netdev/offload-show" to display interface offload
support, and improvements to tracking when an updated checksum is
required.

In a simple iperf test with traffic flowing from a VM, through a
virtio interface and out of DPDK PF, this series resulted in an 18%
improvement in TCP throughput compared to master branch (361 vs 429
Mbps). When TSO is enabled, this further improved by 10x (429 Mbps vs
4.32 Gbps). While TSO isn't introduced in this series, support for
encapsulation with offload is extended.

Flavio Leitner (4):
  Documentation: Document netdev offload.
  dpif-netdev: Show netdev offloading flags.
  userspace: Enable IP checksum offloading by default.
  userspace: Enable L4 csum offloading by default.

 Documentation/automake.mk                |   1 +
 Documentation/topics/index.rst           |   1 +
 Documentation/topics/netdev-offloads.rst |  95 +++++++++
 lib/conntrack.c                          |  30 +--
 lib/dp-packet.c                          |  39 ++++
 lib/dp-packet.h                          | 138 ++++++++++++-
 lib/dpif-netdev-unixctl.man              |   6 +
 lib/dpif-netdev.c                        |  62 ++++++
 lib/flow.c                               |  38 +++-
 lib/ipf.c                                |  11 +-
 lib/netdev-dpdk.c                        | 229 +++++++++++++-------
 lib/netdev-dummy.c                       |  23 +++
 lib/netdev-linux.c                       | 252 +++++++++++++++--------
 lib/netdev-native-tnl.c                  |  53 ++---
 lib/netdev-provider.h                    |   3 +
 lib/netdev.c                             |  87 +++++---
 lib/odp-execute.c                        |  21 +-
 lib/packets.c                            | 209 +++++++++++++++----
 lib/packets.h                            |   3 +
 ofproto/ofproto-dpif-upcall.c            |   2 +-
 tests/automake.mk                        |   1 +
 tests/dpif-netdev.at                     |  21 ++
 tests/system-userspace-offload.at        |  79 +++++++
 tests/system-userspace-testsuite.at      |   1 +
 24 files changed, 1099 insertions(+), 306 deletions(-)
 create mode 100644 Documentation/topics/netdev-offloads.rst
 create mode 100644 tests/system-userspace-offload.at

-- 
2.31.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to