[IB] Add MAD data field size definitions
authorSean Hefty <sean.hefty@intel.com>
Wed, 21 Sep 2005 19:31:26 +0000 (12:31 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 21 Sep 2005 19:31:26 +0000 (12:31 -0700)
commit972d512a17c1bb7c4b784a9da2ca75745fcc6989
tree91eb1a1a0c1affe19e23b15069b6a5fd86d3ca72
parent2fe9f798ba3cf7c939e638b78f46975e79039978
[IB] Add MAD data field size definitions

Clean up code by using enums instead of hard-coded magic numbers.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/mad_rmpp.c
include/rdma/ib_mad.h