]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[intelxl] Set maximum frame size to 9728 bytes as per datasheet
authorMichael Brown <mcb30@ipxe.org>
Fri, 12 Aug 2022 11:48:35 +0000 (12:48 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 12 Aug 2022 12:03:12 +0000 (13:03 +0100)
commitd6e36a2d736efaa9e44784bc58f4d90356774971
treea02b107e4910db018cde66f980e4b990ed30a6ec
parent99242bbe2ead2d36eff65aefc2251e822cc4b2c6
[intelxl] Set maximum frame size to 9728 bytes as per datasheet

The PRTGL_SAH register contains the current maximum frame size, and is
not guaranteed on reset to contain the actual maximum frame size
supported by the hardware, which the datasheet specifies as 9728 bytes
(including the 4-byte CRC).

Set the maximum packet size to a hardcoded 9728 bytes instead of
reading from the PRTGL_SAH register.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/intelxl.c
src/drivers/net/intelxl.h