david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/drivers/net/efi
Michael Brown 6324227dca [efi] Skip cable detection at initialisation where possible
We currently request cable detection in PXE_OPCODE_INITIALIZE to work
around buggy Emulex drivers (see commit c0b61ba ("[efi] Work around
bugs in Emulex NII driver")).

This causes problems with some other NII drivers (e.g. Mellanox),
which may time out if the underlying link is intrinsically slow to
come up.

Attempt to work around both problems simultaneously by requesting
cable detection only if the underlying NII driver does not support
link status reporting via PXE_OPCODE_GET_STATUS.  (This is based on a
potentially incorrect assumption that the buggy Emulex drivers do not
claim to report link status via PXE_OPCODE_GET_STATUS.)

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2017-03-19 13:30:27 +00:00
..
nii.c [efi] Skip cable detection at initialisation where possible 2017-03-19 13:30:27 +00:00
nii.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
snp.c [efi] Remove raw EFI_HANDLE values from debug messages 2015-08-27 15:40:44 +01:00
snpnet.c [efi] Guard against GetStatus() failing to return a NULL TX buffer 2016-05-11 23:02:10 +01:00
snpnet.h [efi] Rewrite SNP NIC driver 2014-07-08 14:01:55 +01:00
snponly.c [efi] Remove raw EFI_HANDLE values from debug messages 2015-08-27 15:40:44 +01:00