aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/xprt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc/xprt.h')
-rw-r--r--include/linux/sunrpc/xprt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
index 2543adf18551..99cad3ead81d 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -100,7 +100,7 @@ struct rpc_rqst {
100#define rq_slen rq_snd_buf.len 100#define rq_slen rq_snd_buf.len
101 101
102struct rpc_xprt_ops { 102struct rpc_xprt_ops {
103 void (*set_buffer_size)(struct rpc_xprt *xprt); 103 void (*set_buffer_size)(struct rpc_xprt *xprt, size_t sndsize, size_t rcvsize);
104 int (*reserve_xprt)(struct rpc_task *task); 104 int (*reserve_xprt)(struct rpc_task *task);
105 void (*release_xprt)(struct rpc_xprt *xprt, struct rpc_task *task); 105 void (*release_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
106 void (*connect)(struct rpc_task *task); 106 void (*connect)(struct rpc_task *task);
@@ -124,7 +124,7 @@ struct rpc_xprt {
124 unsigned long cong; /* current congestion */ 124 unsigned long cong; /* current congestion */
125 unsigned long cwnd; /* congestion window */ 125 unsigned long cwnd; /* congestion window */
126 126
127 unsigned int rcvsize, /* transport rcv buffer size */ 127 size_t rcvsize, /* transport rcv buffer size */
128 sndsize; /* transport send buffer size */ 128 sndsize; /* transport send buffer size */
129 129
130 size_t max_payload; /* largest RPC payload size, 130 size_t max_payload; /* largest RPC payload size,