diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-11-09 20:39:26 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-11-11 16:21:12 +0100 |
commit | b2e7467f26d7813d98cbaad5e62b54960f2c071b (patch) | |
tree | 41ed4f485f1364b5bb9b3e90b1223363fa61cb55 /net/sunrpc/xprtrdma/xprt_rdma.h | |
parent | xprtrdma: Introduce Receive completion IDs (diff) | |
download | linux-b2e7467f26d7813d98cbaad5e62b54960f2c071b.tar.xz linux-b2e7467f26d7813d98cbaad5e62b54960f2c071b.zip |
xprtrdma: Introduce Send completion IDs
Set up a completion ID in each rpcrdma_req. The ID is used to match
an incoming Send completion to a transport and to a previous
ib_post_send().
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r-- | net/sunrpc/xprtrdma/xprt_rdma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h index b94940bc67aa..4eb8e32b9f4a 100644 --- a/net/sunrpc/xprtrdma/xprt_rdma.h +++ b/net/sunrpc/xprtrdma/xprt_rdma.h @@ -216,6 +216,7 @@ enum { struct rpcrdma_req; struct rpcrdma_sendctx { struct ib_cqe sc_cqe; + struct rpc_rdma_cid sc_cid; struct rpcrdma_req *sc_req; unsigned int sc_unmap_count; struct ib_sge sc_sges[]; |