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
Michael Brown 6164741f81 [efi] Guard against GetStatus() failing to return a NULL TX buffer
The UEFI specification requires the EFI_SIMPLE_NETWORK_PROTOCOL
GetStatus() method to set TxBuf to NULL if there are no transmit
buffers to recycle.

Some implementations (observed with Lan9118Dxe in EDK2) fill in TxBuf
only when there is a transmit buffer to recycle, which leads to large
numbers of "spurious TX completion" errors.

Work around this problem by initialising TxBuf to NULL before calling
the GetStatus() method.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2016-05-11 23:02:10 +01: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] Add virtio 1.0 PCI support 2016-04-15 17:41:26 +01:00
infiniband [golan] Fix building with GCC 6 2016-05-04 16:01:32 +01:00
linux [linux] Apply MAC address prior to registering network device 2013-09-03 02:02:58 +01:00
net [efi] Guard against GetStatus() failing to return a NULL TX buffer 2016-05-11 23:02:10 +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