opengnsys_ipxe/src/drivers/bus
Ladi Prosek fba3b39900 [virtio] Remove queue size limit in legacy virtio
Virtio 0.9 implementation was limited to the maximum virtqueue size of
MAX_QUEUE_NUM and the virtio-net driver would fail to initialize on hosts
exceeding this limit.

This commit lifts the restriction by allocating the queue memory based on
the actual queue size instead of using a fixed maximum. Note that virtio
1.0 still uses the MAX_QUEUE_NUM constant to cap the size (unfortunately
this functionality is not available in virtio 0.9).

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2017-01-22 13:22:19 +00:00
..
cdc.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
eisa.c [device] Make driver name a generic device property 2011-04-07 23:09:19 +01:00
isa.c [isa] Avoid spurious compiler warning on gcc 4.7 2012-07-20 18:32:58 +01:00
isa_ids.c [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
isapnp.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
mca.c [device] Make driver name a generic device property 2011-04-07 23:09:19 +01:00
pci.c [pci] Support systems with multiple PCI root bridges 2016-06-09 09:36:28 +01:00
pci_settings.c [pci] Support systems with multiple PCI root bridges 2016-06-09 09:36:28 +01:00
pcibackup.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
pciea.c [pci] Add support for PCI Enhanced Allocation 2016-05-20 16:51:56 +01:00
pciextra.c [pci] Add pci_find_next_capability() 2016-04-15 17:27:35 +01:00
pcivpd.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
usb.c [usb] Allow USB endpoints to specify a reserved header length for refills 2016-01-19 00:01:11 +00:00
virtio-pci.c [virtio] Remove queue size limit in legacy virtio 2017-01-22 13:22:19 +00:00
virtio-ring.c [virtio] Add virtio 1.0 PCI support 2016-04-15 17:41:26 +01:00