public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eli Cohen <elic@nvidia.com>
To: <mst@redhat.com>, <jasowang@redhat.com>,
	<virtualization@lists.linux-foundation.org>,
	<linux-kernel@vger.kernel.org>
Cc: <elic@nvidia.com>
Subject: [PATCH 0/2] vdpa/mlx5: Add support for virtio_vdpa
Date: Sun, 30 May 2021 10:54:13 +0300	[thread overview]
Message-ID: <20210530075415.4644-1-elic@nvidia.com> (raw)

Hi Michael,

The following two patches add support for mlx5_vdpa to be driven by
virtio_vdpa. This requires the ability to create virtqueue resources
with uid equals zero.

The first patch makes use of uid 0 if supported.
The second one handles the memory registration.

Eli Cohen (2):
  vdpa/mlx5: Support creating resources with uid == 0
  vdpa/mlx5: Add support for running with virtio_vdpa

 drivers/vdpa/mlx5/core/mlx5_vdpa.h |  1 +
 drivers/vdpa/mlx5/core/mr.c        | 81 ++++++++++++++++++++++++------
 drivers/vdpa/mlx5/core/resources.c |  6 +++
 drivers/vdpa/mlx5/net/mlx5_vnet.c  | 13 ++++-
 include/linux/mlx5/mlx5_ifc.h      |  4 +-
 5 files changed, 89 insertions(+), 16 deletions(-)

-- 
2.31.1


             reply	other threads:[~2021-05-30  8:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-30  7:54 Eli Cohen [this message]
2021-05-30  7:54 ` [PATCH 1/2] vdpa/mlx5: Support creating resources with uid == 0 Eli Cohen
2021-05-31  3:02   ` Jason Wang
2021-05-31  3:06     ` Jason Wang
2021-05-31  4:59       ` Eli Cohen
2021-05-31  6:43         ` Jason Wang
2021-05-31  4:58     ` Eli Cohen
2021-05-30  7:54 ` [PATCH 2/2] vdpa/mlx5: Add support for running with virtio_vdpa Eli Cohen
2021-05-31  3:16   ` Jason Wang
2021-05-31  5:13     ` Eli Cohen
2021-05-31  6:44       ` Jason Wang

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=20210530075415.4644-1-elic@nvidia.com \
    --to=elic@nvidia.com \
    --cc=jasowang@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox