summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_qp.c
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2022-07-20 04:56:06 -0400
committerJason Gunthorpe <jgg@nvidia.com>2022-08-02 13:45:12 -0300
commitae720bdb703b295fed4ded28e14dd06a534a3012 (patch)
tree321c952586fed44addb314f2fe71921bed45db89 /drivers/infiniband/sw/rxe/rxe_qp.c
parentdea4266f7bf2fc76e49b2e521feccd6c1dbca8c5 (diff)
downloadlinux-stable-ae720bdb703b295fed4ded28e14dd06a534a3012.tar.gz
linux-stable-ae720bdb703b295fed4ded28e14dd06a534a3012.tar.bz2
linux-stable-ae720bdb703b295fed4ded28e14dd06a534a3012.zip
RDMA/rxe: Generate error completion for error requester QP state
As per IBTA specification, all subsequent WQEs while QP is in error state should be completed with a flush error. Here we check QP_STATE_ERROR after req_next_wqe() so that rxe_completer() has chance to be called where it will set CQ state to FLUSH ERROR and the completion can associate with its WQE. Link: https://lore.kernel.org/r/1658307368-1851-3-git-send-email-lizhijian@fujitsu.com Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_qp.c')
0 files changed, 0 insertions, 0 deletions