DPDK patches and discussions
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: dev@dpdk.org, chenbo.xia@intel.com, patrick.fu@intel.com,
	amorenoz@redhat.com
Subject: Re: [dpdk-dev] [PATCH v3 0/8] virtio-user: introduce vhost-vdpa backend
Date: Wed, 30 Sep 2020 18:22:13 +0200
Message-ID: <32e7e336-fa97-7276-0413-7469194d98ef@redhat.com> (raw)
In-Reply-To: <20200929161404.124580-1-maxime.coquelin@redhat.com>



On 9/29/20 6:13 PM, Maxime Coquelin wrote:
> 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 v3:
> --------------
>  * Fix 32bit builds (CI & Chenbo)
>  * Fix checkpatch
> 
> 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
> 


Applied to dpdk-next-virtio/main.

Thanks,
Maxime


      parent reply	other threads:[~2020-09-30 16:23 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-29 16:13 Maxime Coquelin
2020-09-29 16:13 ` [dpdk-dev] [PATCH v3 1/8] bus/vdev: add DMA mapping ops Maxime Coquelin
2020-09-30  5:47   ` Xia, Chenbo
2020-09-29 16:13 ` [dpdk-dev] [PATCH v3 2/8] net/virtio: introduce DMA ops Maxime Coquelin
2020-09-30  5:47   ` Xia, Chenbo
2020-09-29 16:13 ` [dpdk-dev] [PATCH v3 3/8] net/virtio: move backend type selection to ethdev Maxime Coquelin
2020-09-30  5:49   ` Xia, Chenbo
2020-10-16  5:42   ` Wang, Yinan
2020-10-16  5:58     ` Wang, Yinan
2020-10-20  1:52     ` Wang, Yinan
2020-10-20  7:11       ` Maxime Coquelin
2020-10-20  7:20         ` Adrian Moreno
2020-09-29 16:14 ` [dpdk-dev] [PATCH v3 4/8] net/virtio: introduce Vhost-vDPA backend type Maxime Coquelin
2020-09-30  5:49   ` Xia, Chenbo
2020-09-29 16:14 ` [dpdk-dev] [PATCH v3 5/8] net/virtio: check protocol feature in user backend Maxime Coquelin
2020-09-30  5:49   ` Xia, Chenbo
2020-09-29 16:14 ` [dpdk-dev] [PATCH v3 6/8] net/virtio: adapt Virtio-user status size Maxime Coquelin
2020-09-30  5:49   ` Xia, Chenbo
2020-09-29 16:14 ` [dpdk-dev] [PATCH v3 7/8] net/virtio: split virtio-user start Maxime Coquelin
2020-09-30  5:49   ` Xia, Chenbo
2020-09-29 16:14 ` [dpdk-dev] [PATCH v3 8/8] net/virtio: introduce Vhost-vDPA backend Maxime Coquelin
2020-09-30  5:49   ` Xia, Chenbo
2020-09-30 16:22 ` Maxime Coquelin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32e7e336-fa97-7276-0413-7469194d98ef@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=amorenoz@redhat.com \
    --cc=chenbo.xia@intel.com \
    --cc=dev@dpdk.org \
    --cc=patrick.fu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git