diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-06-04 11:21:32 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-06-04 16:56:01 -0400 |
commit | 0380a3f37540ad0582b3c749a74fc127af914689 (patch) | |
tree | b16bd25dca27461439076b4b607f9b8339a714c0 /net/sunrpc/xprtrdma/svc_rdma_transport.c | |
parent | b7e0b9a965a116341b4ef86ab98ea2843b218271 (diff) | |
download | op-kernel-dev-0380a3f37540ad0582b3c749a74fc127af914689.zip op-kernel-dev-0380a3f37540ad0582b3c749a74fc127af914689.tar.gz |
svcrdma: Add a separate "max data segs macro for svcrdma
The server and client maximum are architecturally independent.
Allow changing one without affecting the other.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_transport.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c index 1ed4740..3b4c2ff 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_transport.c +++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c @@ -91,7 +91,7 @@ struct svc_xprt_class svc_rdma_class = { .xcl_name = "rdma", .xcl_owner = THIS_MODULE, .xcl_ops = &svc_rdma_ops, - .xcl_max_payload = RPCSVC_MAXPAYLOAD_RDMA, + .xcl_max_payload = RPCRDMA_MAXPAYLOAD, .xcl_ident = XPRT_TRANSPORT_RDMA, }; |