Skip to content

net/virtio: support IOVA as PA mode for vDPA backend

Srujana Challa dpdk-dev 3 versions – Applied

Status from this message: Applied to next-virtio/for-next-net.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 9 repliesApplied
  2. v23 patches 5 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Changes in v3 from the cover letter

- Addressed the review comment by using rte_mem_iova2virt() for desc address translation.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3net/virtio_user: convert cq descriptor IOVA address to Virtual addressdrivers/net/virtio/virtio_user/virtio_user_dev.c+21 -126 replies
2/3net/virtio: store desc IOVA address in vring data structuredrivers/net/virtio/virtio_ring.h drivers/net/virtio/virtqueue.c+10 -61 reply
3/3net/virtio_user: support sharing vq descriptor IOVA to the backenddrivers/net/virtio/virtio_user/virtio_user_dev.c drivers/net/virtio/virtio_user_ethdev.c+26 -101 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMaxime Coquelin
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.25.1