Skip to content

vhost vlan tag and TSO fixes/cleanups

Yuanhan Liu dpdk-dev 2 versions Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v14 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4vhost: remove unnecessary returnlib/librte_vhost/vhost_rxtx.c+0 -20 replies
2/4examples/vhost: remove unnecessary pseudo checksum calcexamples/vhost/main.c+6 -350 replies
3/4examples/vhost: fix offload settingsexamples/vhost/main.c+6 -30 replies
4/4examples/vhost: fix wrong vlan_tagexamples/vhost/main.c+4 -20 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] vhost vlan tag and TSO fixes/cleanups

v2: - we can't remove the left part of TSO settings to lib vhost, which
hurts VM2VM performance badly.

Ksiadz reported that TSO won't work for OVS with NIC, even with those similar changes from the commit 9fd72e3cbd29 ("examples/vhost: add virtio offload").

This gives me another chance to look at the TSO implementation a bit deeper, and then came up with this small patch set, which includes a TSO cleanup and fix.

Patch 4 is a vlan tag fix reported from Qian.

---
Yuanhan Liu (4):
vhost: remove unnecessary return examples/vhost: remove unnecessary pseudo checksum calc examples/vhost: fix offload settings examples/vhost: fix wrong vlan_tag

 examples/vhost/main.c         | 44 ++++++++++---------------------------------
 lib/librte_vhost/vhost_rxtx.c |  2 --
 2 files changed, 10 insertions(+), 36 deletions(-)
Signature · 1 line
1.9.0