vhost-vDPA multiqueue
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest10 patches 0 repliesNew
- v410 patches 6 repliesSuperseded
- v310 patches 7 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 2/2 | 21 patches | 7 replies | Superseded | |
| v2 posting 1/2 | 18 patches | 4 replies | Superseded | |
| v1 | 18 patches | 31 replies | Superseded |
Changes in v5 from the cover letter
- rebase on top of Michael's pci branch
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | vhost-vdpa: open device fd in net_init_vhost_vdpa()net/ | +15 | 0 replies | |
| 2/10 | vhost-vdpa: classify one time requesthw/ include/ | +48 | 0 replies | |
| 3/10 | vhost-vdpa: prepare for the multiqueue supporthw/ | +2 | 0 replies | |
| 4/10 | vhost-vdpa: let net_vhost_vdpa_init() returns NetClientState *net/ | +12 | 0 replies | |
| 5/10 | net: introduce control clientinclude/ net/ | +26 | 0 replies | |
| 6/10 | vhost-net: control virtqueue supporthw/ hw/ hw/ +1 more | +40 | 0 replies | |
| 7/10 | virtio-net: use "queue_pairs" instead of "queues" when possiblehw/ hw/ include/ | +80 | 0 replies | |
| 8/10 | vhost: record the last virtqueue index for the virtio devicehw/ include/ | +11 | 0 replies | |
| 9/10 | virtio-net: vhost control virtqueue supporthw/ hw/ include/ | +21 | 0 replies | |
| 10/10 | vhost-vdpa: multiqueue supporthw/ net/ | +97 | 0 replies |
Reviews trailers per patch
1 of 10 patches has a Reviewed-by or Acked-by.
| Patch | Stefano Garzarella |
|---|---|
| 1/10 | R-b |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V5 00/10] vhost-vDPA multiqueue
Hi All:
This patch implements the multiqueue support for vhost-vDPA. The most important requirement si the control virtqueue support. The virtio-net and vhost-net core are tweak to support control virtqueue as if what data queue pairs are done: a dedicated vhost_net device which is coupled with the NetClientState is intrdouced so most of the existing vhost codes could be reused with minor changes. This means the control virtqueue will bypass the Qemu. With the control virtqueue, vhost-vDPA are extend to support creating and destroying multiqueue queue pairs plus the control virtqueue.
For the future, if we want to support live migration, we can either do shadow cvq on top or introduce new interfaces for reporting device states.
Tests are done via the vp_vdpa driver in L1 guest.
Changes since V4:
- rebase on top of Michael's pci branch
Changes since V3:
- fix build with vhost disabled
Changes since V2:
- rebase to qemu master
- use "queue_pairs" instead of "qps"
- typo fixes
Changes since V1:
- start and stop vhost devices when all queues were setup
- fix the case when driver doesn't support MQ but device support
- correctly set the batching capability to avoid a map/unmap storm
- various other tweaks
Jason Wang (10):
vhost-vdpa: open device fd in net_init_vhost_vdpa()
vhost-vdpa: classify one time request
vhost-vdpa: prepare for the multiqueue support
vhost-vdpa: let net_vhost_vdpa_init() returns NetClientState *
net: introduce control client
vhost-net: control virtqueue support
virtio-net: use "queue_pairs" instead of "queues" when possible
vhost: record the last virtqueue index for the virtio device
virtio-net: vhost control virtqueue support
vhost-vdpa: multiqueue support
hw/net/vhost_net-stub.c | 4 +- hw/net/vhost_net.c | 55 ++++++++--- hw/net/virtio-net.c | 165 ++++++++++++++++++--------------- hw/virtio/vhost-vdpa.c | 57 ++++++++++-- include/hw/virtio/vhost-vdpa.h | 1 + include/hw/virtio/vhost.h | 2 + include/hw/virtio/virtio-net.h | 5 +- include/net/net.h | 5 + include/net/vhost_net.h | 6 +- net/net.c | 24 ++++- net/vhost-vdpa.c | 127 ++++++++++++++++++++++--- 11 files changed, 331 insertions(+), 120 deletions(-)
Signature · 1 line
2.25.1