diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-11-27 17:33:30 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-01-07 23:54:27 +0100 |
commit | be2acb104880dbd5582c898d000cab5f38750bb9 (patch) | |
tree | 73b671a8639969bb6a5097a0d850cd5e83a8df65 /net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | |
parent | svcrdma: Add lockdep class keys for transport locks (diff) | |
download | linux-be2acb104880dbd5582c898d000cab5f38750bb9.tar.xz linux-be2acb104880dbd5582c898d000cab5f38750bb9.zip |
rpcrdma: Introduce a simple cid tracepoint class
De-duplicate some code, making it easier to add new tracepoints that
report only a completion ID.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_recvfrom.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c b/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c index c8c1c534070b..72374033bb2b 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c +++ b/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c @@ -264,7 +264,7 @@ static bool svc_rdma_refresh_recvs(struct svcxprt_rdma *rdma, if (!ctxt) break; - trace_svcrdma_post_recv(ctxt); + trace_svcrdma_post_recv(&ctxt->rc_cid); ctxt->rc_recv_wr.next = recv_chain; recv_chain = &ctxt->rc_recv_wr; rdma->sc_pending_recvs++; |