]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Provide guaranteed space in transmitted packets
authorMichael Brown <mcb30@ipxe.org>
Fri, 14 Sep 2012 16:49:53 +0000 (17:49 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 14 Sep 2012 16:49:53 +0000 (17:49 +0100)
commit09cc63fc8bd083c58d7276a01675612dbd6a3cfb
tree5eaa3f421ffb84326f0c28243cab438c4ef0436d
parent73eb3f17db3ff0a57a52507eafb5ef78eb5dc66e
[efi] Provide guaranteed space in transmitted packets

eIPoIB requires space to expand a transmitted ARP packet.  This
guarantee is met by ensuring that a transmitted packet consists of at
least MAX_LL_HEADER_LEN bytes from the start of the I/O buffer up to
the end of the link-layer header, and at least IOB_ZLEN bytes
thereafter.

Adjust the I/O buffer allocation for SNP transmitted packets to ensure
that this guarantee is met.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_snp.c