diff options
author | Sean Hefty <sean.hefty@intel.com> | 2006-06-17 23:37:39 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-06-17 23:37:39 -0400 |
commit | 75af9088514432ef0c1052ba3767ceb0beb6f101 (patch) | |
tree | 92f312a058889beef2c85a18b9b7f231947c7590 /include/rdma | |
parent | 526b4caa0a48382115fa9d8f7d8caf68dbcaa2bf (diff) |
IB/ucm: Get rid of duplicate P_Key parameter
The P_Key is provided into a SIDR REQ in two places, once as a
parameter, and again in the path record. Remove the P_Key as a
parameter and always use the one given in the path record.
This change has no practical effect on ABI functionality.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_cm.h | 3 | ||||
-rw-r--r-- | include/rdma/ib_user_cm.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/rdma/ib_cm.h b/include/rdma/ib_cm.h index 8f394f035684..c9b4738be9d6 100644 --- a/include/rdma/ib_cm.h +++ b/include/rdma/ib_cm.h | |||
@@ -546,7 +546,6 @@ struct ib_cm_sidr_req_param { | |||
546 | const void *private_data; | 546 | const void *private_data; |
547 | u8 private_data_len; | 547 | u8 private_data_len; |
548 | u8 max_cm_retries; | 548 | u8 max_cm_retries; |
549 | u16 pkey; | ||
550 | }; | 549 | }; |
551 | 550 | ||
552 | /** | 551 | /** |
@@ -570,7 +569,7 @@ struct ib_cm_sidr_rep_param { | |||
570 | }; | 569 | }; |
571 | 570 | ||
572 | /** | 571 | /** |
573 | * ib_send_cm_sidr_rep - Sends a service ID resolution request to the | 572 | * ib_send_cm_sidr_rep - Sends a service ID resolution reply to the |
574 | * remote node. | 573 | * remote node. |
575 | * @cm_id: Communication identifier associated with the received service ID | 574 | * @cm_id: Communication identifier associated with the received service ID |
576 | * resolution request. | 575 | * resolution request. |
diff --git a/include/rdma/ib_user_cm.h b/include/rdma/ib_user_cm.h index a9e1b22d245c..066c20b7cdfb 100644 --- a/include/rdma/ib_user_cm.h +++ b/include/rdma/ib_user_cm.h | |||
@@ -200,7 +200,7 @@ struct ib_ucm_sidr_req { | |||
200 | __be64 sid; | 200 | __be64 sid; |
201 | __u64 data; | 201 | __u64 data; |
202 | __u64 path; | 202 | __u64 path; |
203 | __u16 pkey; | 203 | __u16 reserved_pkey; |
204 | __u8 len; | 204 | __u8 len; |
205 | __u8 max_cm_retries; | 205 | __u8 max_cm_retries; |
206 | __u8 reserved[4]; | 206 | __u8 reserved[4]; |