From: Dotan Barak <dot...@dev.mellanox.co.il> Increase the maximum size of messages (from 192 to 208) that will use the blue flame buffer.
Signed-off-by: Dotan Barak <dot...@dev.mellanox.co.il> Reviewed-by: Jack Morgenstein <ja...@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerl...@mellanox.com> --- src/qp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/qp.c b/src/qp.c index 0dfe3a7..812e6ec 100644 --- a/src/qp.c +++ b/src/qp.c @@ -398,7 +398,7 @@ int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, out: ctx = to_mctx(ibqp->context); - if (nreq == 1 && inl && size > 1 && size < ctx->bf_buf_size / 16) { + if (nreq == 1 && inl && size > 1 && size <= ctx->bf_buf_size / 16) { ctrl->owner_opcode |= htonl((qp->sq.head & 0xffff) << 8); *(uint32_t *) ctrl->reserved |= qp->doorbell_qpn; /* -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html