[ipxe-devel] [PATCH 0/4] [virtio] Virtqueue fixes

Stefan Hajnoczi stefanha at redhat.com
Mon Dec 19 14:58:03 UTC 2016


On Fri, Dec 16, 2016 at 03:30:01PM +0100, Ladi Prosek wrote:
> This series was prompted by the issue reported in:
> http://lists.ipxe.org/pipermail/ipxe-devel/2016-December/005317.html
> 
> As it turns out, neither legacy nor modern iPXE virtio implementation
> currently works well with queue sizes >256.
> 
> In patch 1, modern virtio is fixed to correctly negotiate the queue
> size. In patch 4, legacy virtio is fixed to accept whatever queue size
> is declared by the host.
> 
>  src/drivers/bus/virtio-pci.c   | 70 +++++++++++++++++++++++++++++-------------
>  src/drivers/net/virtio-net.c   | 31 ++++++++++++-------
>  src/include/ipxe/virtio-pci.h  |  2 ++
>  src/include/ipxe/virtio-ring.h | 12 +++-----
>  4 files changed, 75 insertions(+), 40 deletions(-)
> 
> Thanks!
> Ladi

I posted a comment on one patch but either way:

Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20161219/1a702213/attachment.sig>


More information about the ipxe-devel mailing list