[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] virtio dataplane: adapt dataplane for virtio
From: |
Greg Kurz |
Subject: |
Re: [Qemu-devel] [PATCH v5] virtio dataplane: adapt dataplane for virtio Version 1 |
Date: |
Wed, 9 Sep 2015 14:46:58 +0200 |
On Wed, 9 Sep 2015 10:29:51 +0100
Stefan Hajnoczi <address@hidden> wrote:
> On Mon, Sep 07, 2015 at 01:33:56PM +0200, Pierre Morel wrote:
> > Let dataplane allocate different region for the desc/avail/used
> > ring regions.
> > Take VIRTIO_RING_F_EVENT_IDX into account to increase the used/avail
> > rings accordingly.
> >
> > Signed-off-by: Pierre Morel <address@hidden>
> > (changed __virtio16 into uint16_t,
> > map descriptor table and available ring read-only)
> > Signed-off-by: Greg Kurz <address@hidden>
> > ---
> >
> > Changes from V4:
> > - added comments for VIRTIO_RING_F_EVENT_IDX and mapping
> > - use uint16_t as in ring definitions instead of __virtio16
> > - map descriptor table and available ring read-only
> >
> > Changes from V3:
> > - added changelog
> >
> > Changes from V2:
> > - incorporate the code directly in vring_setup().
> > - added room for the event indexes used with VIRTIO_RING_F_EVENT_IDX
> >
> > Changes from v1:
> > - use a macro to gain LOCs inside of vring_setup()
> >
> > hw/virtio/dataplane/vring.c | 66
> > +++++++++++++++++++++++++++++--------
> > include/hw/virtio/dataplane/vring.h | 4 ++-
> > 2 files changed, 55 insertions(+), 15 deletions(-)
>
> Thanks, applied to my block tree:
> https://github.com/stefanha/qemu/commits/block
>
> Stefan
>
Cc: address@hidden
--
Greg