]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[golan] Use ETH_HLEN for inline header size 1174/head
authorRabia Manaa <rabiam@nvidia.com>
Sun, 17 Mar 2024 13:58:53 +0000 (15:58 +0200)
committerMichael Brown <mcb30@ipxe.org>
Sun, 17 Mar 2024 22:55:32 +0000 (22:55 +0000)
commitc11734eee0fcaaf49f6f3f0342f928e1e5232560
treea7bfd473aeb3deab8622137c30e7ff38d6b9e424
parentfa4bda617d5d2a714d0f8abfba451fd87f11a33e
[golan] Use ETH_HLEN for inline header size

The driver does not correctly handle very short transmitted packets
such as EAPoL-Start where the entire DMA content lies within the
current send work queue entry inline header length of 18 bytes.

Fix by reducing the inline header length to the Ethernet frame header
length of 14 bytes.

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/golan.c