equal
deleted
inserted
replaced
1 #This patch was developed both in-house and from outside. We plan to submit it |
|
2 #upstream, but do not yet have a target date for doing so |
|
3 # |
|
4 # HG changeset patch |
|
5 # Parent 710c2a999a0a5469c1dd4ea1c21b279debb26a3b |
|
6 24617163 Missing code in libmlx4 when upgrading from ofed-1.5.3 to ofed-3.18 |
|
7 |
|
8 diff -r 710c2a999a0a src/qp.c |
|
9 --- a/src/qp.c Fri Sep 16 10:24:06 2016 -0700 |
|
10 +++ b/src/qp.c Tue Sep 20 08:12:11 2016 -0700 |
|
11 @@ -405,7 +405,8 @@ |
|
12 out: |
|
13 ctx = to_mctx(ibqp->context); |
|
14 |
|
15 - if (nreq == 1 && inl && size > 1 && size <= ctx->bf_buf_size / 16) { |
|
16 + if (ctx->ibv_ctx.device->blueflame_enabled && nreq == 1 && inl && |
|
17 + size > 1 && size <= ctx->bf_buf_size / 16) { |
|
18 ctrl->owner_opcode |= htonl((qp->sq.head & 0xffff) << 8); |
|
19 *(uint32_t *) ctrl->reserved |= qp->doorbell_qpn; |
|
20 /* |
|