RDMA/rxe: Set partial attributes when completion status != IBV_WC_SUCCESS
authorXiao Yang <yangx.jy@fujitsu.com>
Thu, 30 Sep 2021 09:48:12 +0000 (17:48 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 6 Oct 2021 22:45:30 +0000 (19:45 -0300)
commit262d9fcf8530c8a64b72951197bfab44cb0d8c62
tree4c8d4d9bc87425fef1825e38115c2b36d4f6e0a4
parent609bb8c3a3f5652d5fb66373c6e539ae6bd6be2f
RDMA/rxe: Set partial attributes when completion status != IBV_WC_SUCCESS

As ibv_poll_cq()'s manual said, only partial attributes are valid when
completion status != IBV_WC_SUCCESS.

Link: https://lore.kernel.org/r/20210930094813.226888-4-yangx.jy@fujitsu.com
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_comp.c