mbox series

[v2,0/2] RDMA/rxe: Fix no completion event issue

Message ID 20220511023030.229212-1-lizhijian@fujitsu.com (mailing list archive)
Headers show
Series RDMA/rxe: Fix no completion event issue | expand

Message

Li Zhijian May 11, 2022, 2:30 a.m. UTC
Since RXE always posts RDMA_WRITE successfully, it's observed that
no more completion occurs after a few incorrect posts. Actually, it
will block the polling. we can easily reproduce it by the below pattern.

a. post correct RDMA_WRITE
b. poll completion event
while true {
  c. post incorrect RDMA_WRITE(wrong rkey for example)
  d. poll completion event <<<< block after 2 incorrect RDMA_WRITE posts
}

Li Zhijian (2):
  RDMA/rxe: Update wqe_index for each wqe error completion
  RDMA/rxe: Generate error completion for error requester state

 drivers/infiniband/sw/rxe/rxe_req.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)