diff options
| author | Michael Brown | 2016-03-04 13:24:22 +0100 |
|---|---|---|
| committer | Michael Brown | 2016-03-08 13:08:58 +0100 |
| commit | bd1687465c3c03b51179bd3732356a55b9766061 (patch) | |
| tree | 6d2c82346e2f5b60401e731cd32f9242559949ec /src/include | |
| parent | [infiniband] Use connection's local ID as debug message identifier (diff) | |
| download | ipxe-bd1687465c3c03b51179bd3732356a55b9766061.tar.gz ipxe-bd1687465c3c03b51179bd3732356a55b9766061.tar.xz ipxe-bd1687465c3c03b51179bd3732356a55b9766061.zip | |
[infiniband] Use correct transaction identifier in CM responses
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ipxe/ib_mad.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/ipxe/ib_mad.h b/src/include/ipxe/ib_mad.h index 96e460edd..134274026 100644 --- a/src/include/ipxe/ib_mad.h +++ b/src/include/ipxe/ib_mad.h @@ -525,6 +525,12 @@ union ib_mad_class_specific { struct ib_smp_class_specific smp; } __attribute__ (( packed )); +/** A management datagram transaction identifier */ +struct ib_mad_tid { + uint32_t high; + uint32_t low; +} __attribute__ (( packed )); + /** A management datagram common header * * Defined in section 13.4.2 of the IBA. @@ -536,7 +542,7 @@ struct ib_mad_hdr { uint8_t method; uint16_t status; union ib_mad_class_specific class_specific; - uint32_t tid[2]; + struct ib_mad_tid tid; uint16_t attr_id; uint8_t reserved[2]; uint32_t attr_mod; |
