Remove the pkey from the API for SIDR REQ.  The pkey is provided
in the path record.

Signed-off-by: Sean Hefty <[EMAIL PROTECTED]>
---
Index: include/infiniband/cm.h
===================================================================
--- include/infiniband/cm.h     (revision 7020)
+++ include/infiniband/cm.h     (working copy)
@@ -528,7 +528,6 @@ struct ib_cm_sidr_req_param {
        void                    *private_data;
        uint8_t                 private_data_len;
        uint8_t                 max_cm_retries;
-       uint16_t                pkey;
 };
 
 /**
Index: src/cm.c
===================================================================
--- src/cm.c    (revision 7020)
+++ src/cm.c    (working copy)
@@ -724,7 +724,7 @@ int ib_cm_send_sidr_req(struct ib_cm_id 
        cmd->id             = cm_id->handle;
        cmd->sid            = param->service_id;
        cmd->timeout        = param->timeout_ms;
-       cmd->pkey           = param->pkey;
+       cmd->pkey           = param->path->pkey;
        cmd->max_cm_retries = param->max_cm_retries;
 
        if (param->path) {

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to