RDMA/rxe: Implement flush completion
authorLi Zhijian <lizhijian@fujitsu.com>
Tue, 6 Dec 2022 13:01:59 +0000 (21:01 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 9 Dec 2022 23:36:02 +0000 (19:36 -0400)
commit70aad902ce8aeb094dd3ef14988a652f24cce7c8
tree6c44abeac91676645eb841c2bfd9a493b1745586
parentea1bb00ee9a5527b032a6efebe4a879db4cb42bb
RDMA/rxe: Implement flush completion

Per IBA SPEC, FLUSH will ack in rdma read response with 0 length.

Use IB_WC_FLUSH (aka IB_UVERBS_WC_FLUSH) code to tell userspace a FLUSH
completion.

Link: https://lore.kernel.org/r/20221206130201.30986-9-lizhijian@fujitsu.com
Reviewed-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_comp.c