diff options
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_mad.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h index d3b9401b77b0..b513f57e1725 100644 --- a/include/rdma/ib_mad.h +++ b/include/rdma/ib_mad.h | |||
@@ -77,6 +77,15 @@ | |||
77 | 77 | ||
78 | #define IB_MGMT_MAX_METHODS 128 | 78 | #define IB_MGMT_MAX_METHODS 128 |
79 | 79 | ||
80 | /* MAD Status field bit masks */ | ||
81 | #define IB_MGMT_MAD_STATUS_SUCCESS 0x0000 | ||
82 | #define IB_MGMT_MAD_STATUS_BUSY 0x0001 | ||
83 | #define IB_MGMT_MAD_STATUS_REDIRECT_REQD 0x0002 | ||
84 | #define IB_MGMT_MAD_STATUS_BAD_VERSION 0x0004 | ||
85 | #define IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD 0x0008 | ||
86 | #define IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD_ATTRIB 0x000c | ||
87 | #define IB_MGMT_MAD_STATUS_INVALID_ATTRIB_VALUE 0x001c | ||
88 | |||
80 | /* RMPP information */ | 89 | /* RMPP information */ |
81 | #define IB_MGMT_RMPP_VERSION 1 | 90 | #define IB_MGMT_RMPP_VERSION 1 |
82 | 91 | ||