diff options
author | Tom Tucker <tom@opengridcomputing.com> | 2007-12-31 04:07:21 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-02-01 22:42:08 +0100 |
commit | 490231558e058547da4ffab6d8ce8e28771749cc (patch) | |
tree | aac2eef69dbd262a755ee1cafec34787faf5d2f0 /include | |
parent | svc: Change the svc_sock in the rqstp structure to a transport (diff) | |
download | linux-490231558e058547da4ffab6d8ce8e28771749cc.tar.xz linux-490231558e058547da4ffab6d8ce8e28771749cc.zip |
svc: Add a max payload value to the transport
The svc_max_payload function currently looks at the socket type
to determine the max payload. Add a max payload value to svc_xprt_class
so it can be returned directly.
Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/svc_xprt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h index fe8e787bb95d..187dc4e2e202 100644 --- a/include/linux/sunrpc/svc_xprt.h +++ b/include/linux/sunrpc/svc_xprt.h @@ -17,6 +17,7 @@ struct svc_xprt_class { struct module *xcl_owner; struct svc_xprt_ops *xcl_ops; struct list_head xcl_list; + u32 xcl_max_payload; }; struct svc_xprt { |