[ipxe-devel] [PATCH] Modify snpnet.c to not poll for transmit completions

Jarrod Johnson jarrod.b.johnson at gmail.com
Sat Feb 11 20:34:23 UTC 2012


There are at least two SNP implementations that potentially do not play
well with snpnet.c expectations (iPXE's own and some versions of at least
one vendor's implementation).  iPXE returns a pointer that has nothing to
do with the data transmitted.  Another vendor fails to ever return a null
in some versions.

Rather than wait for a null pointer to come back every polling interval,
freeing matching non-null pointers as it goes, instead on every transmit
wait for a non-null pointer and free the iobuf regardless of the actual
pointer returned.  This more approximates the behavior of the UEFI core PXE
stack.

https://git.ipxe.org/vendor/xcat/ipxe.git/commitdiff/03281fe80a9346acdd6f34f8744740520017113b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120211/21c22681/attachment.htm>


More information about the ipxe-devel mailing list