From: Cornelia Huck <cohuck@redhat.com>
To: Yuval Shaia <yuval.shaia@oracle.com>
Cc: mst@redhat.com, linux-rdma@vger.kernel.org,
qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org,
jgg@mellanox.com
Subject: Re: [RFC 0/3] VirtIO RDMA
Date: Thu, 11 Apr 2019 19:02:15 +0200 [thread overview]
Message-ID: <20190411190215.2163572e.cohuck@redhat.com> (raw)
In-Reply-To: <20190411110157.14252-1-yuval.shaia@oracle.com>
On Thu, 11 Apr 2019 14:01:54 +0300
Yuval Shaia <yuval.shaia@oracle.com> wrote:
> Data center backends use more and more RDMA or RoCE devices and more and
> more software runs in virtualized environment.
> There is a need for a standard to enable RDMA/RoCE on Virtual Machines.
>
> Virtio is the optimal solution since is the de-facto para-virtualizaton
> technology and also because the Virtio specification
> allows Hardware Vendors to support Virtio protocol natively in order to
> achieve bare metal performance.
>
> This RFC is an effort to addresses challenges in defining the RDMA/RoCE
> Virtio Specification and a look forward on possible implementation
> techniques.
>
> Open issues/Todo list:
> List is huge, this is only start point of the project.
> Anyway, here is one example of item in the list:
> - Multi VirtQ: Every QP has two rings and every CQ has one. This means that
> in order to support for example 32K QPs we will need 64K VirtQ. Not sure
> that this is reasonable so one option is to have one for all and
> multiplex the traffic on it. This is not good approach as by design it
> introducing an optional starvation. Another approach would be multi
> queues and round-robin (for example) between them.
>
> Expectations from this posting:
> In general, any comment is welcome, starting from hey, drop this as it is a
> very bad idea, to yeah, go ahead, we really want it.
> Idea here is that since it is not a minor effort i first want to know if
> there is some sort interest in the community for such device.
My first reaction is: Sounds sensible, but it would be good to have a
spec for this :)
You'll need a spec if you want this to go forward anyway, so at least a
sketch would be good to answer questions such as how many virtqueues
you use for which purpose, what is actually put on the virtqueues,
whether there are negotiable features, and what the expectations for
the device and the driver are. It also makes it easier to understand
how this is supposed to work in practice.
If folks agree that this sounds useful, the next step would be to
reserve an id for the device type.
>
> The scope of the implementation is limited to probing the device and doing
> some basic ibverbs commands. Data-path is not yet implemented. So with this
> one can expect only that driver is (partialy) loaded and basic queries and
> resource allocation is done.
>
> One note regarding the patchset.
> I know it is not standard to collaps patches from several repos as i did
> here (qemu and linux) but decided to do it anyway so the whole picture can
> be seen.
>
> patch 1: virtio-net: Move some virtio-net-pci decl to include/hw/virtio
> This is a prelimenary patch just as a hack so i will not need to
> impelement new netdev
> patch 2: hw/virtio-rdma: VirtIO rdma device
> The implementation of the device
> patch 3: RDMA/virtio-rdma: VirtIO rdma driver
> The device driver
>
next prev parent reply other threads:[~2019-04-11 17:02 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190411110157.14252-1-yuval.shaia@oracle.com>
2019-04-11 11:01 ` [RFC 1/3] virtio-net: Move some virtio-net-pci decl to include/hw/virtio Yuval Shaia
2019-04-11 11:01 ` [RFC 2/3] hw/virtio-rdma: VirtIO rdma device Yuval Shaia
2019-04-11 11:01 ` [RFC 3/3] RDMA/virtio-rdma: VirtIO rdma driver Yuval Shaia
2019-04-11 17:02 ` Cornelia Huck [this message]
2019-04-11 17:24 ` [RFC 0/3] VirtIO RDMA Jason Gunthorpe
[not found] ` <20190411172402.GA14509@mellanox.com>
2019-04-11 17:34 ` Yuval Shaia
[not found] ` <20190411173419.GB6259@lap1>
2019-04-11 17:40 ` Jason Gunthorpe
2019-04-11 17:41 ` [Qemu-devel] " Yuval Shaia
[not found] ` <20190411174022.GA26227@mellanox.com>
2019-04-15 10:04 ` Yuval Shaia
[not found] ` <20190411174124.GA6428@lap1>
[not found] ` <CANjDDBj0rqZEmHzMH+2461_DvjV5K4hT=hJ_usBuucV4Xwh84g@mail.gmail.com>
2019-04-15 10:27 ` [Qemu-devel] " Yuval Shaia
2019-04-15 10:35 ` Yuval Shaia
[not found] ` <20190415103546.GA6854@lap1>
2019-04-19 11:16 ` [Qemu-devel] " Hannes Reinecke
2019-04-22 6:00 ` Leon Romanovsky
2019-04-30 17:16 ` Yuval Shaia
2019-04-22 16:45 ` Jason Gunthorpe
2019-04-30 17:13 ` Yuval Shaia
2019-05-07 19:43 ` Jason Gunthorpe
2019-04-30 12:16 ` Yuval Shaia
[not found] ` <20190411110157.14252-4-yuval.shaia@oracle.com>
2019-04-13 7:58 ` [RFC 3/3] RDMA/virtio-rdma: VirtIO rdma driver Yanjun Zhu
[not found] ` <199a70a8-5926-66af-d2d7-b19a0a0f46a2@oracle.com>
2019-04-14 5:20 ` Yuval Shaia
2019-04-16 1:07 ` Bart Van Assche
2019-04-16 8:56 ` [Qemu-devel] " Yuval Shaia
[not found] ` <20190411110157.14252-3-yuval.shaia@oracle.com>
2019-04-19 23:20 ` [RFC 2/3] hw/virtio-rdma: VirtIO rdma device Michael S. Tsirkin
2019-04-23 7:59 ` Cornelia Huck
2019-04-11 11:01 [RFC 0/3] VirtIO RDMA Yuval Shaia
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=20190411190215.2163572e.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=jgg@mellanox.com \
--cc=linux-rdma@vger.kernel.org \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=virtualization@lists.linux-foundation.org \
--cc=yuval.shaia@oracle.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
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;
as well as URLs for NNTP newsgroup(s).