OSDN Git Service

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)
commit0e0b854cfb3302b1907e9d3a927469b95710238f
tree8fd110b3b062b89f60c9bd8f60efaa994da5d4ea
parentedb41e61a54ee75fae31302775e0301fdcb0caaa
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