|
@@ -442,7 +442,7 @@ int hfi1_make_rc_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps)
|
|
|
case IB_WR_RDMA_WRITE:
|
|
|
if (newreq && !(qp->s_flags & RVT_S_UNLIMITED_CREDIT))
|
|
|
qp->s_lsn++;
|
|
|
- /* FALLTHROUGH */
|
|
|
+ goto no_flow_control;
|
|
|
case IB_WR_RDMA_WRITE_WITH_IMM:
|
|
|
/* If no credit, return. */
|
|
|
if (!(qp->s_flags & RVT_S_UNLIMITED_CREDIT) &&
|
|
@@ -450,6 +450,7 @@ int hfi1_make_rc_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps)
|
|
|
qp->s_flags |= RVT_S_WAIT_SSN_CREDIT;
|
|
|
goto bail;
|
|
|
}
|
|
|
+no_flow_control:
|
|
|
put_ib_reth_vaddr(
|
|
|
wqe->rdma_wr.remote_addr,
|
|
|
&ohdr->u.rc.reth);
|