[PATCH net-next V2 0/3] in order support for vhost-net

From: Jason Wang
Date: Mon Jul 14 2025 - 04:48:18 EST


Hi all,

This series implements VIRTIO_F_IN_ORDER support for vhost-net. This
feature is designed to improve the performance of the virtio ring by
optimizing descriptor processing.

Benchmarks show a notable improvement. Please see patch 3 for details.

Changes since V1:
- add a new patch to fail early when vhost_add_used() fails
- drop unused parameters of vhost_add_used_ooo()
- conisty nheads for vhost_add_used_in_order()
- typo fixes and other tweaks

Thanks

Jason Wang (3):
vhost: fail early when __vhost_add_used() fails
vhost: basic in order support
vhost_net: basic in_order support

drivers/vhost/net.c | 88 +++++++++++++++++++++---------
drivers/vhost/vhost.c | 123 ++++++++++++++++++++++++++++++++++--------
drivers/vhost/vhost.h | 8 ++-
3 files changed, 171 insertions(+), 48 deletions(-)

--
2.39.5