[PATCH v4 6/6] vhost: simplify some descriptor handling

Maxime Coquelin maxime.coquelin at redhat.com
Thu Oct 15 15:52:50 CEST 2026



On 10/14/26 5:57 PM, David Marchand wrote:
> Now that the async datapath has been removed, move back the descriptors
> copy/filling code in desc_to_mbuf/mbuf_to_desc and eliminate an
> intermediate helper.
> 
> Tracking buf_iova is not needed in the descriptor to mbuf case.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
> Changes since v3:
> - rebased after RTE_PTR_ADD changes,
> 
> Changes since v2:
> - used RTE_PTR_ADD for consistency,
> 
> ---
>   lib/vhost/virtio_net.c | 81 +++++++++++++++++-------------------------
>   1 file changed, 32 insertions(+), 49 deletions(-)
> 
Already provided my R-by on previous revision:

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



More information about the dev mailing list