linux/drivers/infiniband
Li Zhijian ae720bdb70 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>
2022-08-02 13:45:12 -03:00
..
core IB: Fix repeated words 'the the' comments 2022-07-22 12:02:29 -03:00
hw IB/qib: Fix repeated "in" within comments 2022-07-28 12:50:05 -03:00
sw RDMA/rxe: Generate error completion for error requester QP state 2022-08-02 13:45:12 -03:00
ulp RDMA/srpt: Fix a use-after-free 2022-07-29 16:45:37 -03:00
Kconfig RDMA/erdma: Add driver to kernel build environment 2022-07-27 16:04:05 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00