RDMA/rxe: Handle remote errors in the midst of a Read reply sequence
authorDaisuke Matsuda <matsuda-daisuke@fujitsu.com>
Thu, 13 Oct 2022 01:47:24 +0000 (10:47 +0900)
committerLeon Romanovsky <leon@kernel.org>
Tue, 25 Oct 2022 05:56:32 +0000 (08:56 +0300)
commit5ac814e02ece516761d2e244cef93843df911ae0
treeda386f669130e9b7b69e86b25cd190d3ea5cb0c1
parent5ebc548f4f54fe971d741d80cd108f1a45c9e88d
RDMA/rxe: Handle remote errors in the midst of a Read reply sequence

Requesting nodes do not handle a reported error correctly if it is
generated in the middle of multi-packet Read responses, and the node tries
to resend the request endlessly. Let completer terminate the connection in
that case.

Link: https://lore.kernel.org/r/20221013014724.3786212-2-matsuda-daisuke@fujitsu.com
Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rxe/rxe_comp.c