File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
drivers/infiniband/sw/rxe Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ static enum ib_wc_opcode wr_to_wc_opcode(enum ib_wr_opcode opcode)
105
105
case IB_WR_REG_MR : return IB_WC_REG_MR ;
106
106
case IB_WR_BIND_MW : return IB_WC_BIND_MW ;
107
107
case IB_WR_ATOMIC_WRITE : return IB_WC_ATOMIC_WRITE ;
108
+ case IB_WR_FLUSH : return IB_WC_FLUSH ;
108
109
109
110
default :
110
111
return 0xff ;
@@ -278,7 +279,8 @@ static inline enum comp_state check_ack(struct rxe_qp *qp,
278
279
*/
279
280
case IB_OPCODE_RC_RDMA_READ_RESPONSE_MIDDLE :
280
281
if (wqe -> wr .opcode != IB_WR_RDMA_READ &&
281
- wqe -> wr .opcode != IB_WR_RDMA_READ_WITH_INV ) {
282
+ wqe -> wr .opcode != IB_WR_RDMA_READ_WITH_INV &&
283
+ wqe -> wr .opcode != IB_WR_FLUSH ) {
282
284
wqe -> status = IB_WC_FATAL_ERR ;
283
285
return COMPST_ERROR ;
284
286
}
You can’t perform that action at this time.
0 commit comments