diff options
author | Sean Hefty <sean.hefty@intel.com> | 2005-10-17 18:37:43 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-17 18:37:43 -0400 |
commit | 07d357d0cbf89d9980b1769d5444a3c70f000e00 (patch) | |
tree | cc7bcdee52b4e79e2115295e763f2e3d49c68a86 /include/rdma/ib_user_cm.h | |
parent | 595e726a1f28420c5fc7970b1a87cbce77a1cd45 (diff) |
[IB] CM: bind IDs to a specific device
Bind communication identifiers to a device to support device removal.
Export per HCA CM devices to userspace.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Diffstat (limited to 'include/rdma/ib_user_cm.h')
-rw-r--r-- | include/rdma/ib_user_cm.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/rdma/ib_user_cm.h b/include/rdma/ib_user_cm.h index e4d1654276ad..3037588b8464 100644 --- a/include/rdma/ib_user_cm.h +++ b/include/rdma/ib_user_cm.h | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | #include <linux/types.h> | 39 | #include <linux/types.h> |
40 | 40 | ||
41 | #define IB_USER_CM_ABI_VERSION 2 | 41 | #define IB_USER_CM_ABI_VERSION 3 |
42 | 42 | ||
43 | enum { | 43 | enum { |
44 | IB_USER_CM_CMD_CREATE_ID, | 44 | IB_USER_CM_CMD_CREATE_ID, |
@@ -299,8 +299,6 @@ struct ib_ucm_event_get { | |||
299 | }; | 299 | }; |
300 | 300 | ||
301 | struct ib_ucm_req_event_resp { | 301 | struct ib_ucm_req_event_resp { |
302 | /* device */ | ||
303 | /* port */ | ||
304 | struct ib_ucm_path_rec primary_path; | 302 | struct ib_ucm_path_rec primary_path; |
305 | struct ib_ucm_path_rec alternate_path; | 303 | struct ib_ucm_path_rec alternate_path; |
306 | __be64 remote_ca_guid; | 304 | __be64 remote_ca_guid; |
@@ -316,6 +314,7 @@ struct ib_ucm_req_event_resp { | |||
316 | __u8 retry_count; | 314 | __u8 retry_count; |
317 | __u8 rnr_retry_count; | 315 | __u8 rnr_retry_count; |
318 | __u8 srq; | 316 | __u8 srq; |
317 | __u8 port; | ||
319 | }; | 318 | }; |
320 | 319 | ||
321 | struct ib_ucm_rep_event_resp { | 320 | struct ib_ucm_rep_event_resp { |
@@ -353,10 +352,9 @@ struct ib_ucm_apr_event_resp { | |||
353 | }; | 352 | }; |
354 | 353 | ||
355 | struct ib_ucm_sidr_req_event_resp { | 354 | struct ib_ucm_sidr_req_event_resp { |
356 | /* device */ | ||
357 | /* port */ | ||
358 | __u16 pkey; | 355 | __u16 pkey; |
359 | __u8 reserved[2]; | 356 | __u8 port; |
357 | __u8 reserved; | ||
360 | }; | 358 | }; |
361 | 359 | ||
362 | struct ib_ucm_sidr_rep_event_resp { | 360 | struct ib_ucm_sidr_rep_event_resp { |