1
1
Jeff Squyres f3429d7a44 btl/usnic: pack a wire data struct
Might as well save a few bytes when sending this struct across the
network via the __opal_attribute_packed__ attribute.

That being said, also re-order the elements in this struct so that
there's no holes to begin with.  Do this so that the compiler/runtime
won't effect (slow) unaligned reads/writes because of the
__opal_attribute_packed__ attribute.

The "packed" attribute is really more about defensive programming
(e.g., if we make a mistake and have a hole, "packed" will remove it
for us).

*** Do not bring this commit back to existing/already-released release
branches: it will cause incompatibility, since it effectively changes
the usNIC BTL wire protocol.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2019-10-04 13:05:51 -07:00
..
2018-12-18 14:37:04 -07:00
2019-10-04 13:05:51 -07:00
2018-10-17 10:29:00 -06:00
2015-06-23 20:59:57 -07:00
2018-09-15 06:04:13 -07:00
2015-06-23 20:59:57 -07:00
2018-09-05 08:42:00 -07:00