Tested this series of patches v2 with "virtio-net-pci,..,in_order=on", regression tests pass. Tested-by: Lei Yang <leiyang@xxxxxxxxxx> On Mon, Jul 14, 2025 at 4:48 PM Jason Wang <jasowang@xxxxxxxxxx> wrote: > > 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 > >