iPXE
ib_srp.h
Go to the documentation of this file.
1 #ifndef _IPXE_IB_SRP_H
2 #define _IPXE_IB_SRP_H
3 
4 /** @file
5  *
6  * SCSI RDMA Protocol over Infiniband
7  *
8  */
9 
10 FILE_LICENCE ( BSD2 );
11 
12 #include <stdint.h>
13 #include <ipxe/infiniband.h>
14 #include <ipxe/srp.h>
15 
16 /** SRP initiator port identifier for Infiniband */
18  /** SRP version of port identifier */
20  /** Infiniband version of port identifier */
21  struct {
22  /** Identifier extension */
23  union ib_guid id_ext;
24  /** IB channel adapter GUID */
26  } __attribute__ (( packed )) ib;
27 };
28 
29 /** SRP target port identifier for Infiniband */
31  /** SRP version of port identifier */
33  /** Infiniband version of port identifier */
34  struct {
35  /** Identifier extension */
36  union ib_guid id_ext;
37  /** I/O controller GUID */
39  } __attribute__ (( packed )) ib;
40 };
41 
42 /**
43  * sBFT Infiniband subtable
44  */
46  /** Source GID */
47  union ib_gid sgid;
48  /** Destination GID */
49  union ib_gid dgid;
50  /** Service ID */
52  /** Partition key */
54  /** Reserved */
56 } __attribute__ (( packed ));
57 
58 #endif /* _IPXE_IB_SRP_H */
#define __attribute__(x)
Definition: compiler.h:10
An SRP port ID.
Definition: srp.h:36
Infiniband protocol.
unsigned short uint16_t
Definition: stdint.h:11
union srp_port_id srp
SRP version of port identifier.
Definition: ib_srp.h:32
FILE_LICENCE(BSD2)
struct ib_srp_target_port_id::@538 ib
Infiniband version of port identifier.
struct ib_srp_initiator_port_id::@537 ib
Infiniband version of port identifier.
SRP target port identifier for Infiniband.
Definition: ib_srp.h:30
sBFT Infiniband subtable
Definition: ib_srp.h:45
union ib_gid dgid
Destination GID.
Definition: ib_srp.h:49
union srp_port_id srp
SRP version of port identifier.
Definition: ib_srp.h:19
An Infiniband Global Identifier.
Definition: ib_packet.h:33
uint8_t reserved[6]
Reserved.
Definition: ib_srp.h:55
SCSI RDMA Protocol.
SRP initiator port identifier for Infiniband.
Definition: ib_srp.h:17
union ib_gid sgid
Source GID.
Definition: ib_srp.h:47
union ib_guid service_id
Service ID.
Definition: ib_srp.h:51
An Infiniband Globally Unique Identifier.
Definition: ib_packet.h:18
unsigned char uint8_t
Definition: stdint.h:10
union ib_guid ioc_guid
I/O controller GUID.
Definition: ib_srp.h:38
union ib_guid hca_guid
IB channel adapter GUID.
Definition: ib_srp.h:25
uint16_t pkey
Partition key.
Definition: ib_srp.h:53
union ib_guid id_ext
Identifier extension.
Definition: ib_srp.h:36
union ib_guid id_ext
Identifier extension.
Definition: ib_srp.h:23