diff options
| -rw-r--r-- | drivers/infiniband/core/cm_msgs.h | 12 | ||||
| -rw-r--r-- | include/rdma/ib_cm.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/drivers/infiniband/core/cm_msgs.h b/drivers/infiniband/core/cm_msgs.h index 7da9b2102341..be068f47e47e 100644 --- a/drivers/infiniband/core/cm_msgs.h +++ b/drivers/infiniband/core/cm_msgs.h | |||
| @@ -44,18 +44,6 @@ | |||
| 44 | 44 | ||
| 45 | #define IB_CM_CLASS_VERSION 2 /* IB specification 1.2 */ | 45 | #define IB_CM_CLASS_VERSION 2 /* IB specification 1.2 */ |
| 46 | 46 | ||
| 47 | #define CM_REQ_ATTR_ID cpu_to_be16(0x0010) | ||
| 48 | #define CM_MRA_ATTR_ID cpu_to_be16(0x0011) | ||
| 49 | #define CM_REJ_ATTR_ID cpu_to_be16(0x0012) | ||
| 50 | #define CM_REP_ATTR_ID cpu_to_be16(0x0013) | ||
| 51 | #define CM_RTU_ATTR_ID cpu_to_be16(0x0014) | ||
| 52 | #define CM_DREQ_ATTR_ID cpu_to_be16(0x0015) | ||
| 53 | #define CM_DREP_ATTR_ID cpu_to_be16(0x0016) | ||
| 54 | #define CM_SIDR_REQ_ATTR_ID cpu_to_be16(0x0017) | ||
| 55 | #define CM_SIDR_REP_ATTR_ID cpu_to_be16(0x0018) | ||
| 56 | #define CM_LAP_ATTR_ID cpu_to_be16(0x0019) | ||
| 57 | #define CM_APR_ATTR_ID cpu_to_be16(0x001A) | ||
| 58 | |||
| 59 | enum cm_msg_sequence { | 47 | enum cm_msg_sequence { |
| 60 | CM_MSG_SEQUENCE_REQ, | 48 | CM_MSG_SEQUENCE_REQ, |
| 61 | CM_MSG_SEQUENCE_LAP, | 49 | CM_MSG_SEQUENCE_LAP, |
diff --git a/include/rdma/ib_cm.h b/include/rdma/ib_cm.h index 83f77ac33957..0e3ff30647d5 100644 --- a/include/rdma/ib_cm.h +++ b/include/rdma/ib_cm.h | |||
| @@ -262,6 +262,18 @@ struct ib_cm_event { | |||
| 262 | void *private_data; | 262 | void *private_data; |
| 263 | }; | 263 | }; |
| 264 | 264 | ||
| 265 | #define CM_REQ_ATTR_ID cpu_to_be16(0x0010) | ||
| 266 | #define CM_MRA_ATTR_ID cpu_to_be16(0x0011) | ||
| 267 | #define CM_REJ_ATTR_ID cpu_to_be16(0x0012) | ||
| 268 | #define CM_REP_ATTR_ID cpu_to_be16(0x0013) | ||
| 269 | #define CM_RTU_ATTR_ID cpu_to_be16(0x0014) | ||
| 270 | #define CM_DREQ_ATTR_ID cpu_to_be16(0x0015) | ||
| 271 | #define CM_DREP_ATTR_ID cpu_to_be16(0x0016) | ||
| 272 | #define CM_SIDR_REQ_ATTR_ID cpu_to_be16(0x0017) | ||
| 273 | #define CM_SIDR_REP_ATTR_ID cpu_to_be16(0x0018) | ||
| 274 | #define CM_LAP_ATTR_ID cpu_to_be16(0x0019) | ||
| 275 | #define CM_APR_ATTR_ID cpu_to_be16(0x001A) | ||
| 276 | |||
| 265 | /** | 277 | /** |
| 266 | * ib_cm_handler - User-defined callback to process communication events. | 278 | * ib_cm_handler - User-defined callback to process communication events. |
| 267 | * @cm_id: Communication identifier associated with the reported event. | 279 | * @cm_id: Communication identifier associated with the reported event. |
