Skip to content

Commit 2da36d4

Browse files
Jianchao Wangdledford
authored andcommitted
IB/rxe: add RXE_START_MASK for rxe_opcode IB_OPCODE_RC_SEND_ONLY_INV
w/o RXE_START_MASK, the last_psn of IB_OPCODE_RC_SEND_ONLY_INV will not be updated in update_wqe_psn, and the corresponding wqe will not be acked in rxe_completer due to its last_psn is zero. Finally, the other wqe will also not be able to be acked, because the wqe of IB_OPCODE_RC_SEND_ONLY_INV with last_psn 0 is still there. This causes large amount of io timeout when nvmeof is over rxe. Add RXE_START_MASK for IB_OPCODE_RC_SEND_ONLY_INV to fix this. Signed-off-by: Jianchao Wang <[email protected]> Reviewed-by: Zhu Yanjun <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent f96416c commit 2da36d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/infiniband/sw/rxe/rxe_opcode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
390390
.name = "IB_OPCODE_RC_SEND_ONLY_INV",
391391
.mask = RXE_IETH_MASK | RXE_PAYLOAD_MASK | RXE_REQ_MASK
392392
| RXE_COMP_MASK | RXE_RWR_MASK | RXE_SEND_MASK
393-
| RXE_END_MASK,
393+
| RXE_END_MASK | RXE_START_MASK,
394394
.length = RXE_BTH_BYTES + RXE_IETH_BYTES,
395395
.offset = {
396396
[RXE_BTH] = 0,

0 commit comments

Comments
 (0)