]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[INC] In function 'ib_get_attr_offset()' replace attr_size adjustment code with an...
authorStan Smith <stan.smith@intel.com>
Fri, 21 May 2010 19:05:50 +0000 (19:05 +0000)
committerStan Smith <stan.smith@intel.com>
Fri, 21 May 2010 19:05:50 +0000 (19:05 +0000)
commit1a123f86a238ccdd974b2df2b2234aa63fd9a3e3
tree20096dfd17ed10cdc452c7cca81f77209c852493
parentb33212f2bd3333107ca15fff0b92b7bd0a639f88
[INC] In function 'ib_get_attr_offset()' replace attr_size adjustment code with an ASSERT() as attr offset sizes are required to be a multiple of 8 bytes.

By removing antiquated structure padding, the sizeof(struct) values return to the correct size alignment.
Removal of padding allows osmtest to correctly generate and validate a fabric inventory file.

signed-off-by: stan smith <stan.smith@intel.com>

git-svn-id: svn://openib.tc.cornell.edu/gen1@2798 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/inc/iba/ib_types.h