diff options
Diffstat (limited to 'include/rdma')
| -rw-r--r-- | include/rdma/ib_mad.h | 4 | ||||
| -rw-r--r-- | include/rdma/rdma_user_cm.h | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h index 8ec3799e42e1..7228c056b9e9 100644 --- a/include/rdma/ib_mad.h +++ b/include/rdma/ib_mad.h | |||
| @@ -230,7 +230,9 @@ struct ib_class_port_info | |||
| 230 | * @seg_count: The number of RMPP segments allocated for this send. | 230 | * @seg_count: The number of RMPP segments allocated for this send. |
| 231 | * @seg_size: Size of each RMPP segment. | 231 | * @seg_size: Size of each RMPP segment. |
| 232 | * @timeout_ms: Time to wait for a response. | 232 | * @timeout_ms: Time to wait for a response. |
| 233 | * @retries: Number of times to retry a request for a response. | 233 | * @retries: Number of times to retry a request for a response. For MADs |
| 234 | * using RMPP, this applies per window. On completion, returns the number | ||
| 235 | * of retries needed to complete the transfer. | ||
| 234 | * | 236 | * |
| 235 | * Users are responsible for initializing the MAD buffer itself, with the | 237 | * Users are responsible for initializing the MAD buffer itself, with the |
| 236 | * exception of any RMPP header. Additional segment buffer space allocated | 238 | * exception of any RMPP header. Additional segment buffer space allocated |
diff --git a/include/rdma/rdma_user_cm.h b/include/rdma/rdma_user_cm.h index 9749c1b34d00..c55705460b87 100644 --- a/include/rdma/rdma_user_cm.h +++ b/include/rdma/rdma_user_cm.h | |||
| @@ -60,7 +60,8 @@ enum { | |||
| 60 | RDMA_USER_CM_CMD_SET_OPTION, | 60 | RDMA_USER_CM_CMD_SET_OPTION, |
| 61 | RDMA_USER_CM_CMD_NOTIFY, | 61 | RDMA_USER_CM_CMD_NOTIFY, |
| 62 | RDMA_USER_CM_CMD_JOIN_MCAST, | 62 | RDMA_USER_CM_CMD_JOIN_MCAST, |
| 63 | RDMA_USER_CM_CMD_LEAVE_MCAST | 63 | RDMA_USER_CM_CMD_LEAVE_MCAST, |
| 64 | RDMA_USER_CM_CMD_MIGRATE_ID | ||
| 64 | }; | 65 | }; |
| 65 | 66 | ||
| 66 | /* | 67 | /* |
| @@ -230,4 +231,14 @@ struct rdma_ucm_set_option { | |||
| 230 | __u32 optlen; | 231 | __u32 optlen; |
| 231 | }; | 232 | }; |
| 232 | 233 | ||
| 234 | struct rdma_ucm_migrate_id { | ||
| 235 | __u64 response; | ||
| 236 | __u32 id; | ||
| 237 | __u32 fd; | ||
| 238 | }; | ||
| 239 | |||
| 240 | struct rdma_ucm_migrate_resp { | ||
| 241 | __u32 events_reported; | ||
| 242 | }; | ||
| 243 | |||
| 233 | #endif /* RDMA_USER_CM_H */ | 244 | #endif /* RDMA_USER_CM_H */ |
