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>tags/v1.20.1
|
|
||
191 |
|
191 |
|
192 |
|
192 |
|
193 |
|
193 |
|
|
194 |
|
|
194 |
|
195 |
|
195 |
|
196 |
|
196 |
|
197 |
|