From e05a8cd4deb75ae145160cddf146daba0a17ced4 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 17 Sep 2007 06:35:21 +0100 Subject: Use pkey table access to determine broadcast GID directly. --- src/include/gpxe/infiniband.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/include/gpxe') diff --git a/src/include/gpxe/infiniband.h b/src/include/gpxe/infiniband.h index 236b27272..32f9d6752 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 */ -- cgit v1.2.3-55-g7522