]> git.openfabrics.org - ~shefty/libibcm.git/commitdiff
r7750: Remove the pkey from the API for SIDR REQ. The pkey is provided in the path
authorSean Hefty <sean.hefty@intel.com>
Tue, 6 Jun 2006 21:07:39 +0000 (21:07 +0000)
committerSean Hefty <sean.hefty@intel.com>
Tue, 6 Jun 2006 21:07:39 +0000 (21:07 +0000)
record.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
include/infiniband/cm.h
src/cm.c

index 694896591c1e0eff910413a3c0bf29f3195d0cc3..5cf47e13e16f14650999b5720d733973577fdd5d 100644 (file)
@@ -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 27550d4a940e29431e73b94d248e671e6df30f11..8dace9844be08aa1da158f20ddd0d50ff140413b 100644 (file)
--- a/src/cm.c
+++ b/src/cm.c
@@ -739,7 +739,7 @@ int ib_cm_send_sidr_req(struct ib_cm_id *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) {