]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Clean up Receive trace points
authorChuck Lever <chuck.lever@oracle.com>
Fri, 4 May 2018 19:35:14 +0000 (15:35 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 7 May 2018 13:20:03 +0000 (09:20 -0400)
commitcb7ee98b5ebe72bce45d9c87012112ea43077639
tree8fd110b3b062b89f60c9bd8f60efaa994da5d4ea
parent8fd7f77b347efbac7a4250058f00d24cc94e46b4
xprtrdma: Clean up Receive trace points

For clarity, report the posting and completion of Receive CQEs.

Also, the wc->byte_len field contains garbage if wc->status is
non-zero, and the vendor error field contains garbage if wc->status
is zero. For readability, don't save those fields in those cases.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/trace/events/rpcrdma.h
net/sunrpc/xprtrdma/verbs.c