RDMA/rxe: Add error messages
authorBob Pearson <rpearsonhpe@gmail.com>
Fri, 3 Mar 2023 22:16:24 +0000 (16:16 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 24 Mar 2023 13:41:49 +0000 (10:41 -0300)
commit5bf944f24129cbc4b5828348bdce2db94ca9fbd6
tree9dceb61617ac8fb01f2cf34f49042c24de02077a
parent9ac01f434a1eb56ea94611bd75cf62fa276b41f4
RDMA/rxe: Add error messages

This patch adds error and debug messages so that every interaction
with rdma-core through a verbs API call or a completion error return
will generate at least one error message backed up by debug messages
with more detail.

With dynamic debugging one can follow up after seeing an error message
by turning on the appropriate debug messages.

Link: https://lore.kernel.org/r/20230303221623.8053-5-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_comp.c
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_mr.c
drivers/infiniband/sw/rxe/rxe_resp.c
drivers/infiniband/sw/rxe/rxe_verbs.c