]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[realtek] Allow extra space in RX buffers
authorMichael Brown <mcb30@ipxe.org>
Mon, 15 Jul 2013 10:15:48 +0000 (12:15 +0200)
committerMichael Brown <mcb30@ipxe.org>
Mon, 15 Jul 2013 10:19:37 +0000 (12:19 +0200)
commit918fb437439d1bfb172e7fbdfc03b2b25664bee7
tree6b98b7f90d354f648861de45ed7b2fe13723aea0
parent75bd5b54a8673ea4843903d0e7c743aa5b440d38
[realtek] Allow extra space in RX buffers

Some hardware (observed with an onboard RTL8168) will erroneously
report a buffer overflow error if the received packet exactly fills
the receive buffer.

Fix by adding an extra four bytes of padding to each receive buffer.

Debugged-by: Thomas Miletich <thomas.miletich@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/realtek.h