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(-) -- 1.9.0