david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/drivers
Ladi Prosek e45451c699 [virtio] Cap queue size to MAX_QUEUE_NUM
vpm_find_vqs incorrectly accepted the host provided queue size with no
regard to iPXE's internal limitations. Virtio 1.0 makes it possible for
the driver to override the queue size to reduce memory requirements and
iPXE is a great use case for this feature.

Also removing the extra vq->vring.num assignment which is already
handled in vring_init.

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:18:28 +00:00
..
bitbash [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
block [iscsi] Include DHCP server address in iBFT 2016-03-29 19:38:18 +01:00
bus [virtio] Cap queue size to MAX_QUEUE_NUM 2017-01-22 13:18:28 +00:00
infiniband [golan] Update Connect-IB, ConnectX-4 and ConnectX-4 Lx (Infiniband) support 2016-12-08 09:35:52 +00:00
linux [linux] Apply MAC address prior to registering network device 2013-09-03 02:02:58 +01:00
net [intel] Remove duplicate intelvf_mbox_queues() function 2016-07-14 13:51:07 +01:00
nvs [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
usb [ehci] Add extra debugging information 2016-02-05 21:03:17 +00:00