|
@@ -1657,6 +1657,8 @@ struct ib_qp *c4iw_create_qp(struct ib_pd *pd, struct ib_qp_init_attr *attrs,
|
|
|
if (mm5) {
|
|
if (mm5) {
|
|
|
uresp.ma_sync_key = ucontext->key;
|
|
uresp.ma_sync_key = ucontext->key;
|
|
|
ucontext->key += PAGE_SIZE;
|
|
ucontext->key += PAGE_SIZE;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ uresp.ma_sync_key = 0;
|
|
|
}
|
|
}
|
|
|
uresp.sq_key = ucontext->key;
|
|
uresp.sq_key = ucontext->key;
|
|
|
ucontext->key += PAGE_SIZE;
|
|
ucontext->key += PAGE_SIZE;
|