diff options
author | Michael Brown | 2007-09-17 07:35:21 +0200 |
---|---|---|
committer | Michael Brown | 2007-09-17 07:35:21 +0200 |
commit | e05a8cd4deb75ae145160cddf146daba0a17ced4 (patch) | |
tree | 73a683a10d1df2843be3daf4747747257dabbc0b /src/include/gpxe/infiniband.h | |
parent | Prepare for adding a metadata queue to IPoIB (diff) | |
download | ipxe-e05a8cd4deb75ae145160cddf146daba0a17ced4.tar.gz ipxe-e05a8cd4deb75ae145160cddf146daba0a17ced4.tar.xz ipxe-e05a8cd4deb75ae145160cddf146daba0a17ced4.zip |
Use pkey table access to determine broadcast GID directly.
Diffstat (limited to 'src/include/gpxe/infiniband.h')
-rw-r--r-- | src/include/gpxe/infiniband.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/gpxe/infiniband.h b/src/include/gpxe/infiniband.h index 236b2727..32f9d675 100644 --- a/src/include/gpxe/infiniband.h +++ b/src/include/gpxe/infiniband.h @@ -468,11 +468,19 @@ struct ib_mad_port_info { uint8_t link_speed_enabled__link_speed_active; } __attribute__ (( packed )); +struct ib_mad_pkey_table { + struct ib_mad_hdr mad_hdr; + uint32_t mkey[2]; + uint32_t reserved[8]; + uint16_t pkey[16][2]; +} __attribute__ (( packed )); + union ib_mad { struct ib_mad_hdr mad_hdr; struct ib_mad_data data; struct ib_mad_guid_info guid_info; struct ib_mad_port_info port_info; + struct ib_mad_pkey_table pkey_table; } __attribute__ (( packed )); #endif /* _GPXE_INFINIBAND_H */ |