1#ifndef _IPXE_IB_PACKET_H
2#define _IPXE_IB_PACKET_H
27#define IB_GUID_FMT "%08x:%08x"
30#define IB_GUID_ARGS( guid ) \
31 ntohl ( (guid)->dwords[0] ), ntohl ( (guid)->dwords[1] )
46#define IB_GID_FMT IB_GUID_FMT ":" IB_GUID_FMT
49#define IB_GID_ARGS( gid ) \
50 IB_GUID_ARGS ( &(gid)->s.prefix ), IB_GUID_ARGS ( &(gid)->s.guid )
53#define IB_GID_MULTICAST( gid ) ( (gid)->bytes[0] == 0xff )
84#define IB_LID_NONE 0xffff
87#define IB_LID_MULTICAST( lid ) ( ( (lid) >= 0xc000 ) && ( (lid) <= 0xfffe ) )
110#define IB_GRH_IPVER_IPv6 0x06
111#define IB_GRH_NXTHDR_IBA 0x1b
157#define IB_MAX_HEADER_SIZE sizeof ( union ib_headers )
struct arbelprm_qp_db_record qp
unsigned long long uint64_t
if(len >=6 *4) __asm__ __volatile__("movsl" if(len >=5 *4) __asm__ __volatile__("movsl" if(len >=4 *4) __asm__ __volatile__("movsl" if(len >=3 *4) __asm__ __volatile__("movsl" if(len >=2 *4) __asm__ __volatile__("movsl" if(len >=1 *4) __asm__ __volatile__("movsl" if((len % 4) >=2) __asm__ __volatile__("movsw" if((len % 2) >=1) __asm__ __volatile__("movsb" retur dest)
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
int ib_pull(struct ib_device *ibdev, struct io_buffer *iobuf, struct ib_queue_pair **qp, size_t *payload_len, struct ib_address_vector *dest, struct ib_address_vector *source)
Remove IB headers.
struct ib_datagram_extended_transport_header deth
int ib_push(struct ib_device *ibdev, struct io_buffer *iobuf, struct ib_queue_pair *qp, size_t payload_len, const struct ib_address_vector *dest)
Add IB headers.
ib_lnh
An Infiniband Link Next Header value.
ib_vl
Infiniband virtual lanes.
ib_bth_opcode
An Infiniband BTH opcode.
struct ib_base_transport_header bth
struct ib_local_route_header lrh
An Infiniband Address Vector.
An Infiniband Queue Pair.
An Infiniband Global Identifier.
struct ib_gid::@251011351113275240012301235177256303262052134237 s
An Infiniband Globally Unique Identifier.