DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/8] virtio-user: introduce vhost-vdpa backend
@ 2020-09-25 12:31 Maxime Coquelin
  2020-09-25 12:31 ` [dpdk-dev] [PATCH v2 1/8] bus/vdev: add DMA mapping ops Maxime Coquelin
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Maxime Coquelin @ 2020-09-25 12:31 UTC (permalink / raw)
  To: dev, chenbo.xia, patrick.fu, amorenoz; +Cc: Maxime Coquelin

vhost-vDPA is a new vhost backend type introduced by vDPA kernel
framework, which provides abstruction to the vDPA devices and
exposes to userspace a unified control interface through char devs.

This patch set adds vhost-vdpa backend type to the virtio_user.
A set of vhost-vdpa specific ops callbacks are attached to the
virtio_user according to the runtime dynamic check result of the
backend type. DMA memory map/unmap callbacks are added to both
vdev bus driver and virtio_user pmd to support address mapping.
In addition, minor fixes to existing virtio control path are also
implemented to make the new backend work.

This is a collaborative work done with Patrick Fu from Intel and
Adrian Moreno from Red Hat. Thanks to them for their contributions.

The series has been tested with vdpasim and Intel IFC Kernel vDPA
drivers, and more lightly with Mellanox mlx5_vdpa on ConnectX-6 Dx.

Changes in v2:
-----------------
 * Split backend-type patch (Adrian)
 * Fix get_status size (Chenbo)
 * Various minro fixes (Chenbo)

Adrian Moreno (1):
  net/virtio: move backend type selection to ethdev

Maxime Coquelin (7):
  bus/vdev: add DMA mapping ops
  net/virtio: introduce DMA ops
  net/virtio: introduce Vhost-vDPA backend type
  net/virtio: check protocol feature in user backend
  net/virtio: adapt Virtio-user status size
  net/virtio: split virtio-user start
  net/virtio: introduce Vhost-vDPA backend

 drivers/bus/vdev/rte_bus_vdev.h               |  46 ++-
 drivers/bus/vdev/vdev.c                       |  52 +++
 drivers/net/virtio/meson.build                |   1 +
 drivers/net/virtio/virtio_user/vhost.h        |   5 +
 drivers/net/virtio/virtio_user/vhost_user.c   |   6 +-
 drivers/net/virtio/virtio_user/vhost_vdpa.c   | 298 ++++++++++++++++++
 .../net/virtio/virtio_user/virtio_user_dev.c  | 117 ++++---
 .../net/virtio/virtio_user/virtio_user_dev.h  |  13 +-
 drivers/net/virtio/virtio_user_ethdev.c       | 126 +++++++-
 9 files changed, 607 insertions(+), 57 deletions(-)
 create mode 100644 drivers/net/virtio/virtio_user/vhost_vdpa.c

-- 
2.26.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-03-29 21:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 12:31 [dpdk-dev] [PATCH v2 0/8] virtio-user: introduce vhost-vdpa backend Maxime Coquelin
2020-09-25 12:31 ` [dpdk-dev] [PATCH v2 1/8] bus/vdev: add DMA mapping ops Maxime Coquelin
2021-03-29 21:59   ` Thomas Monjalon
2020-09-25 12:31 ` [dpdk-dev] [PATCH v2 2/8] net/virtio: introduce DMA ops Maxime Coquelin
2020-09-25 12:31 ` [dpdk-dev] [PATCH v2 3/8] net/virtio: move backend type selection to ethdev Maxime Coquelin
2020-09-25 12:31 ` [dpdk-dev] [PATCH v2 4/8] net/virtio: introduce Vhost-vDPA backend type Maxime Coquelin
2020-09-25 12:31 ` [dpdk-dev] [PATCH v2 5/8] net/virtio: check protocol feature in user backend Maxime Coquelin
2020-09-25 12:31 ` [dpdk-dev] [PATCH v2 6/8] net/virtio: adapt Virtio-user status size Maxime Coquelin
2020-09-25 12:31 ` [dpdk-dev] [PATCH v2 7/8] net/virtio: split virtio-user start Maxime Coquelin
2020-09-25 12:31 ` [dpdk-dev] [PATCH v2 8/8] net/virtio: introduce Vhost-vDPA backend Maxime Coquelin
2020-09-29  8:31   ` Xia, Chenbo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).