diff options
-rw-r--r-- | drivers/infiniband/hw/cxgb4/qp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c index 83a01dc0c4c1..9fb52fa75e2a 100644 --- a/drivers/infiniband/hw/cxgb4/qp.c +++ b/drivers/infiniband/hw/cxgb4/qp.c | |||
@@ -588,6 +588,8 @@ int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, | |||
588 | err = build_fastreg(wqe, wr, &len16); | 588 | err = build_fastreg(wqe, wr, &len16); |
589 | break; | 589 | break; |
590 | case IB_WR_LOCAL_INV: | 590 | case IB_WR_LOCAL_INV: |
591 | if (wr->send_flags & IB_SEND_FENCE) | ||
592 | fw_flags |= FW_RI_LOCAL_FENCE_FLAG; | ||
591 | fw_opcode = FW_RI_INV_LSTAG_WR; | 593 | fw_opcode = FW_RI_INV_LSTAG_WR; |
592 | swsqe->opcode = FW_RI_LOCAL_INV; | 594 | swsqe->opcode = FW_RI_LOCAL_INV; |
593 | err = build_inv_stag(wqe, wr, &len16); | 595 | err = build_inv_stag(wqe, wr, &len16); |