mbox series

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

Message ID 20240703100353.2243038-1-schalla@marvell.com (mailing list archive)
Headers
Series net/virtio: support IOVA as PA mode for vDPA backend |

Message

Srujana Challa July 3, 2024, 10:03 a.m. UTC
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(-)