[PATCH v3 0/3] net/virtio: support IOVA as PA mode for vDPA backend

Maxime Coquelin maxime.coquelin at redhat.com
Wed Jul 3 16:34:23 CEST 2024



On 7/3/24 12:03, Srujana Challa wrote:
> This patch series makes Virtio-user works in IOVA as PA mode
> for vDPA backend.
> 
> First patch fixes the issue when having buffer IOVA address in
> control queue descriptors.
> Second and third patches helps to share descriptor IOVA address,
> to the vhost backend. And also disables the use_va flag for VDPA
> backend type.
> 
> v1->v2:
> - Split single patch into three patches.
> v2->v3:
> - Addressed the review comment by using rte_mem_iova2virt() for desc
>    address translation.
> 
> Srujana Challa (3):
>    net/virtio_user: convert cq descriptor IOVA address to Virtual address
>    net/virtio: store desc IOVA address in vring data structure
>    net/virtio_user: support sharing vq descriptor IOVA to the backend
> 
>   drivers/net/virtio/virtio_ring.h              | 12 ++--
>   .../net/virtio/virtio_user/virtio_user_dev.c  | 59 ++++++++++++-------
>   drivers/net/virtio/virtio_user_ethdev.c       | 10 +++-
>   drivers/net/virtio/virtqueue.c                |  4 +-
>   4 files changed, 57 insertions(+), 28 deletions(-)
> 

Applied to next-virtio/for-next-net.

Thanks,
Maxime



More information about the dev mailing list