david/ipxe
david
/
ipxe
Archived
1
0
Fork 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/net/infiniband
Michael Brown 7cfdd769aa [block] Describe all SAN devices via ACPI tables
Describe all SAN devices via ACPI tables such as the iBFT.  For tables
that can describe only a single device (i.e. the aBFT and sBFT), one
table is installed per device.  For multi-device tables (i.e. the
iBFT), all devices are described in a single table.

An underlying SAN device connection may be closed at the time that we
need to construct an ACPI table.  We therefore introduce the concept
of an "ACPI descriptor" which enables the SAN boot code to maintain an
opaque pointer to the underlying object, and an "ACPI model" which can
build tables from a list of such descriptors.  This separates the
lifecycles of ACPI descriptions from the lifecycles of the block
device interfaces, and allows for construction of the ACPI tables even
if the block device interface has been closed.

For a multipath SAN device, iPXE will wait until sufficient
information is available to describe all devices but will not wait for
all paths to connect successfully.  For example: with a multipath
iSCSI boot iPXE will wait until at least one path has become available
and name resolution has completed on all other paths.  We do this
since the iBFT has to include IP addresses rather than DNS names.  We
will commence booting without waiting for the inactive paths to either
become available or close; this avoids unnecessary boot delays.

Note that the Linux kernel will refuse to accept an iBFT with more
than two NIC or target structures.  We therefore describe only the
NICs that are actually required in order to reach the described
targets.  Any iBFT with at most two targets is therefore guaranteed to
describe at most two NICs.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2017-03-28 19:12:48 +03:00
..
ib_cm.c [infiniband] Use correct transaction identifier in CM responses 2016-03-08 12:08:58 +00:00
ib_cmrc.c [infiniband] Return status code from ib_create_cq() and ib_create_qp() 2017-03-22 11:18:02 +02:00
ib_mcast.c [infiniband] Allow for the creation of multicast groups 2016-03-08 12:23:30 +00:00
ib_mi.c [infiniband] Return status code from ib_create_mi() 2017-03-22 11:18:23 +02:00
ib_packet.c [infiniband] Use "%#lx" as format specifier for queue pair numbers 2016-03-08 12:08:58 +00:00
ib_pathrec.c [infiniband] Retrieve GID flag from cached path entries 2016-03-08 17:40:52 +00:00
ib_service.c [infiniband] Add support for performing service record lookups 2016-03-08 12:08:58 +00:00
ib_sma.c [infiniband] Use "%d" as format specifier for LIDs 2016-03-08 12:08:58 +00:00
ib_smc.c [infiniband] Assign names to Infiniband devices for debug messages 2016-03-08 12:08:58 +00:00
ib_srp.c [block] Describe all SAN devices via ACPI tables 2017-03-28 19:12:48 +03:00
xsigo.c [netdevice] Limit MTU by hardware maximum frame length 2017-01-25 14:55:09 +00:00