Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ab1eb9c authored by Steve Wise's avatar Steve Wise Committed by Roland Dreier
Browse files

RDMA/cxgb4: Set fence flag for inv-local-stag work requests

parent f64b8843
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -588,6 +588,8 @@ int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
			err = build_fastreg(wqe, wr, &len16);
			err = build_fastreg(wqe, wr, &len16);
			break;
			break;
		case IB_WR_LOCAL_INV:
		case IB_WR_LOCAL_INV:
			if (wr->send_flags & IB_SEND_FENCE)
				fw_flags |= FW_RI_LOCAL_FENCE_FLAG;
			fw_opcode = FW_RI_INV_LSTAG_WR;
			fw_opcode = FW_RI_INV_LSTAG_WR;
			swsqe->opcode = FW_RI_LOCAL_INV;
			swsqe->opcode = FW_RI_LOCAL_INV;
			err = build_inv_stag(wqe, wr, &len16);
			err = build_inv_stag(wqe, wr, &len16);