[openib-general] [PATCH] core: modify QP didn't put the right value in alt_pkey_index
Dotan Barak
dotanb at mellanox.co.il
Tue Mar 7 08:57:16 PST 2006
modify QP didn't put the right value in alt_pkey_index.
Signed-off-by: Ami Perlmutter <amip at mellanox.co.il>
Index: last_stable/drivers/infiniband/core/uverbs_cmd.c
===================================================================
--- last_stable.orig/drivers/infiniband/core/uverbs_cmd.c
+++ last_stable/drivers/infiniband/core/uverbs_cmd.c
@@ -1131,7 +1131,7 @@ ssize_t ib_uverbs_modify_qp(struct ib_uv
attr->dest_qp_num = cmd.dest_qp_num;
attr->qp_access_flags = cmd.qp_access_flags;
attr->pkey_index = cmd.pkey_index;
- attr->alt_pkey_index = cmd.pkey_index;
+ attr->alt_pkey_index = cmd.alt_pkey_index;
attr->en_sqd_async_notify = cmd.en_sqd_async_notify;
attr->max_rd_atomic = cmd.max_rd_atomic;
attr->max_dest_rd_atomic = cmd.max_dest_rd_atomic;
More information about the general
mailing list