[PATCH] vhost: fix external buffer in VDUSE

Maxime Coquelin mcoqueli at redhat.com
Tue Oct 28 13:56:20 CET 2025


On Tue, Oct 28, 2025 at 1:35 PM David Marchand
<david.marchand at redhat.com> wrote:
>
> extbuf and linearbuf features are required for (enhanced) TSO support
> in OVS.
>
> VDUSE ports were generating multi-segments mbufs in case of "TSO"
> buffers which resulted in OVS generating wrong packets after tunnel
> encapsulation.
>
> Enable the missing datapath features.
>
> Fixes: 0adb8eccc6a6 ("vhost: add VDUSE device creation and destruction")
> Cc: stable at dpdk.org
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
>  lib/vhost/socket.c | 3 ++-
>  lib/vhost/vduse.c  | 8 +++++++-
>  lib/vhost/vduse.h  | 2 +-
>  3 files changed, 10 insertions(+), 3 deletions(-)
>

Thanks for working on this!

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Maxime



More information about the stable mailing list