RDMA/rxe: Make responder handle RDMA Read failures
authorDaisuke Matsuda <matsuda-daisuke@fujitsu.com>
Thu, 13 Oct 2022 01:47:23 +0000 (10:47 +0900)
committerLeon Romanovsky <leon@kernel.org>
Tue, 25 Oct 2022 05:56:32 +0000 (08:56 +0300)
commit5ebc548f4f54fe971d741d80cd108f1a45c9e88d
tree2dd6bd8a32fe1dd049b858d3d669b29d5baa3172
parent71d236399160ad9beaae7267b93d2d487e8f19a0
RDMA/rxe: Make responder handle RDMA Read failures

Currently, responder can reply packets with invalid payloads if it fails
to copy messages to the packets. Add an error handling in read_reply() to
inform a requesting node of the failure.

Link: https://lore.kernel.org/r/20221013014724.3786212-1-matsuda-daisuke@fujitsu.com
Suggested-by: Li Zhijian <lizhijian@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_resp.c