svcrdma: Pass a useful error code to the send_err tracepoint
authorChuck Lever <chuck.lever@oracle.com>
Sun, 11 Apr 2021 18:19:08 +0000 (14:19 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 14 Apr 2021 16:09:27 +0000 (12:09 -0400)
commit8727f78855b8d770b192949adbb1425092529e0f
tree1599059074e718bed3e9e034f219e1ca400de19b
parentc7731d5e055453191a240d526c9d9e778ae2fce2
svcrdma: Pass a useful error code to the send_err tracepoint

Capture error codes in @ret, which is passed to the send_err
tracepoint, so that they can be logged when something goes awry.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/xprtrdma/svc_rdma_sendto.c