diff options
author | Michael Brown <mcb30@ipxe.org> | 2016-03-04 12:24:22 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2016-03-08 12:08:58 +0000 |
commit | bd1687465c3c03b51179bd3732356a55b9766061 (patch) | |
tree | 6d2c82346e2f5b60401e731cd32f9242559949ec /src/include | |
parent | 8336186564dc7489de55fe16e0c050844e6665d6 (diff) | |
download | ipxe-bd1687465c3c03b51179bd3732356a55b9766061.zip ipxe-bd1687465c3c03b51179bd3732356a55b9766061.tar.gz ipxe-bd1687465c3c03b51179bd3732356a55b9766061.tar.bz2 |
[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 96e460e..1342740 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; |