summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/efi_path.h
diff options
context:
space:
mode:
authorMichael Brown2020-10-23 16:26:30 +0200
committerMichael Brown2020-10-23 16:34:35 +0200
commita2e44077cdb0713d90766e61165ca71fce902003 (patch)
tree36581ed047d0c43fdf6f3fe2e48297fa6d79ff1c /src/include/ipxe/efi/efi_path.h
parent[fcp] Allow Fibre Channel device to be described using an EFI device path (diff)
downloadipxe-a2e44077cdb0713d90766e61165ca71fce902003.tar.gz
ipxe-a2e44077cdb0713d90766e61165ca71fce902003.tar.xz
ipxe-a2e44077cdb0713d90766e61165ca71fce902003.zip
[infiniband] Allow SRP device to be described using an EFI device path
The UEFI specification provides a partial definition of an Infiniband device path structure. Use this structure to construct what may be a plausible path containing at least some of the information required to identify an SRP target device. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/efi_path.h')
-rw-r--r--src/include/ipxe/efi/efi_path.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_path.h b/src/include/ipxe/efi/efi_path.h
index 91a6c255..76ded728 100644
--- a/src/include/ipxe/efi/efi_path.h
+++ b/src/include/ipxe/efi/efi_path.h
@@ -18,6 +18,7 @@ struct uri;
struct iscsi_session;
struct aoe_device;
struct fcp_description;
+struct ib_srp_device;
struct usb_function;
extern EFI_DEVICE_PATH_PROTOCOL *
@@ -31,6 +32,8 @@ extern EFI_DEVICE_PATH_PROTOCOL *
efi_iscsi_path ( struct iscsi_session *iscsi );
extern EFI_DEVICE_PATH_PROTOCOL * efi_aoe_path ( struct aoe_device *aoedev );
extern EFI_DEVICE_PATH_PROTOCOL * efi_fcp_path ( struct fcp_description *desc );
+extern EFI_DEVICE_PATH_PROTOCOL *
+efi_ib_srp_path ( struct ib_srp_device *ib_srp );
extern EFI_DEVICE_PATH_PROTOCOL * efi_usb_path ( struct usb_function *func );
extern EFI_DEVICE_PATH_PROTOCOL * efi_describe ( struct interface *interface );