diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2016-09-15 10:57:07 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-09-19 13:08:38 -0400 |
commit | 87cfb9a0c85ce4a0c96a4f3d692a85519b933ade (patch) | |
tree | 7e9f35448effa32a7e0b20a86b6c4aa1211315b7 /include/linux/sunrpc/rpc_rdma.h | |
parent | ff06bd191e722393d9abf7d6f9767f195274e909 (diff) | |
download | linux-stable-87cfb9a0c85ce4a0c96a4f3d692a85519b933ade.tar.gz linux-stable-87cfb9a0c85ce4a0c96a4f3d692a85519b933ade.tar.bz2 linux-stable-87cfb9a0c85ce4a0c96a4f3d692a85519b933ade.zip |
xprtrdma: Client-side support for rpcrdma_connect_private
Send an RDMA-CM private message on connect, and look for one during
a connection-established event.
Both sides can communicate their various implementation limits.
Implementations that don't support this sideband protocol ignore it.
Once the client knows the server's inline threshold maxima, it can
adjust the use of Reply chunks, and eliminate most use of Position
Zero Read chunks. Moderately-sized I/O can be done using a pure
inline RDMA Send instead of RDMA operations that require memory
registration.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/sunrpc/rpc_rdma.h')
-rw-r--r-- | include/linux/sunrpc/rpc_rdma.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sunrpc/rpc_rdma.h b/include/linux/sunrpc/rpc_rdma.h index a7da6bf56610..cfda6adcf33c 100644 --- a/include/linux/sunrpc/rpc_rdma.h +++ b/include/linux/sunrpc/rpc_rdma.h @@ -46,6 +46,10 @@ #define RPCRDMA_VERSION 1 #define rpcrdma_version cpu_to_be32(RPCRDMA_VERSION) +enum { + RPCRDMA_V1_DEF_INLINE_SIZE = 1024, +}; + struct rpcrdma_segment { __be32 rs_handle; /* Registered memory handle */ __be32 rs_length; /* Length of the chunk in bytes */ |