diff options
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma.c b/net/sunrpc/xprtrdma/svc_rdma.c index 678cee22013f..5b8a8ff93a25 100644 --- a/net/sunrpc/xprtrdma/svc_rdma.c +++ b/net/sunrpc/xprtrdma/svc_rdma.c | |||
@@ -120,7 +120,7 @@ static ctl_table svcrdma_parm_table[] = { | |||
120 | .data = &svcrdma_max_requests, | 120 | .data = &svcrdma_max_requests, |
121 | .maxlen = sizeof(unsigned int), | 121 | .maxlen = sizeof(unsigned int), |
122 | .mode = 0644, | 122 | .mode = 0644, |
123 | .proc_handler = &proc_dointvec_minmax, | 123 | .proc_handler = proc_dointvec_minmax, |
124 | .extra1 = &min_max_requests, | 124 | .extra1 = &min_max_requests, |
125 | .extra2 = &max_max_requests | 125 | .extra2 = &max_max_requests |
126 | }, | 126 | }, |
@@ -129,7 +129,7 @@ static ctl_table svcrdma_parm_table[] = { | |||
129 | .data = &svcrdma_max_req_size, | 129 | .data = &svcrdma_max_req_size, |
130 | .maxlen = sizeof(unsigned int), | 130 | .maxlen = sizeof(unsigned int), |
131 | .mode = 0644, | 131 | .mode = 0644, |
132 | .proc_handler = &proc_dointvec_minmax, | 132 | .proc_handler = proc_dointvec_minmax, |
133 | .extra1 = &min_max_inline, | 133 | .extra1 = &min_max_inline, |
134 | .extra2 = &max_max_inline | 134 | .extra2 = &max_max_inline |
135 | }, | 135 | }, |
@@ -138,7 +138,7 @@ static ctl_table svcrdma_parm_table[] = { | |||
138 | .data = &svcrdma_ord, | 138 | .data = &svcrdma_ord, |
139 | .maxlen = sizeof(unsigned int), | 139 | .maxlen = sizeof(unsigned int), |
140 | .mode = 0644, | 140 | .mode = 0644, |
141 | .proc_handler = &proc_dointvec_minmax, | 141 | .proc_handler = proc_dointvec_minmax, |
142 | .extra1 = &min_ord, | 142 | .extra1 = &min_ord, |
143 | .extra2 = &max_ord, | 143 | .extra2 = &max_ord, |
144 | }, | 144 | }, |
@@ -148,63 +148,63 @@ static ctl_table svcrdma_parm_table[] = { | |||
148 | .data = &rdma_stat_read, | 148 | .data = &rdma_stat_read, |
149 | .maxlen = sizeof(atomic_t), | 149 | .maxlen = sizeof(atomic_t), |
150 | .mode = 0644, | 150 | .mode = 0644, |
151 | .proc_handler = &read_reset_stat, | 151 | .proc_handler = read_reset_stat, |
152 | }, | 152 | }, |
153 | { | 153 | { |
154 | .procname = "rdma_stat_recv", | 154 | .procname = "rdma_stat_recv", |
155 | .data = &rdma_stat_recv, | 155 | .data = &rdma_stat_recv, |
156 | .maxlen = sizeof(atomic_t), | 156 | .maxlen = sizeof(atomic_t), |
157 | .mode = 0644, | 157 | .mode = 0644, |
158 | .proc_handler = &read_reset_stat, | 158 | .proc_handler = read_reset_stat, |
159 | }, | 159 | }, |
160 | { | 160 | { |
161 | .procname = "rdma_stat_write", | 161 | .procname = "rdma_stat_write", |
162 | .data = &rdma_stat_write, | 162 | .data = &rdma_stat_write, |
163 | .maxlen = sizeof(atomic_t), | 163 | .maxlen = sizeof(atomic_t), |
164 | .mode = 0644, | 164 | .mode = 0644, |
165 | .proc_handler = &read_reset_stat, | 165 | .proc_handler = read_reset_stat, |
166 | }, | 166 | }, |
167 | { | 167 | { |
168 | .procname = "rdma_stat_sq_starve", | 168 | .procname = "rdma_stat_sq_starve", |
169 | .data = &rdma_stat_sq_starve, | 169 | .data = &rdma_stat_sq_starve, |
170 | .maxlen = sizeof(atomic_t), | 170 | .maxlen = sizeof(atomic_t), |
171 | .mode = 0644, | 171 | .mode = 0644, |
172 | .proc_handler = &read_reset_stat, | 172 | .proc_handler = read_reset_stat, |
173 | }, | 173 | }, |
174 | { | 174 | { |
175 | .procname = "rdma_stat_rq_starve", | 175 | .procname = "rdma_stat_rq_starve", |
176 | .data = &rdma_stat_rq_starve, | 176 | .data = &rdma_stat_rq_starve, |
177 | .maxlen = sizeof(atomic_t), | 177 | .maxlen = sizeof(atomic_t), |
178 | .mode = 0644, | 178 | .mode = 0644, |
179 | .proc_handler = &read_reset_stat, | 179 | .proc_handler = read_reset_stat, |
180 | }, | 180 | }, |
181 | { | 181 | { |
182 | .procname = "rdma_stat_rq_poll", | 182 | .procname = "rdma_stat_rq_poll", |
183 | .data = &rdma_stat_rq_poll, | 183 | .data = &rdma_stat_rq_poll, |
184 | .maxlen = sizeof(atomic_t), | 184 | .maxlen = sizeof(atomic_t), |
185 | .mode = 0644, | 185 | .mode = 0644, |
186 | .proc_handler = &read_reset_stat, | 186 | .proc_handler = read_reset_stat, |
187 | }, | 187 | }, |
188 | { | 188 | { |
189 | .procname = "rdma_stat_rq_prod", | 189 | .procname = "rdma_stat_rq_prod", |
190 | .data = &rdma_stat_rq_prod, | 190 | .data = &rdma_stat_rq_prod, |
191 | .maxlen = sizeof(atomic_t), | 191 | .maxlen = sizeof(atomic_t), |
192 | .mode = 0644, | 192 | .mode = 0644, |
193 | .proc_handler = &read_reset_stat, | 193 | .proc_handler = read_reset_stat, |
194 | }, | 194 | }, |
195 | { | 195 | { |
196 | .procname = "rdma_stat_sq_poll", | 196 | .procname = "rdma_stat_sq_poll", |
197 | .data = &rdma_stat_sq_poll, | 197 | .data = &rdma_stat_sq_poll, |
198 | .maxlen = sizeof(atomic_t), | 198 | .maxlen = sizeof(atomic_t), |
199 | .mode = 0644, | 199 | .mode = 0644, |
200 | .proc_handler = &read_reset_stat, | 200 | .proc_handler = read_reset_stat, |
201 | }, | 201 | }, |
202 | { | 202 | { |
203 | .procname = "rdma_stat_sq_prod", | 203 | .procname = "rdma_stat_sq_prod", |
204 | .data = &rdma_stat_sq_prod, | 204 | .data = &rdma_stat_sq_prod, |
205 | .maxlen = sizeof(atomic_t), | 205 | .maxlen = sizeof(atomic_t), |
206 | .mode = 0644, | 206 | .mode = 0644, |
207 | .proc_handler = &read_reset_stat, | 207 | .proc_handler = read_reset_stat, |
208 | }, | 208 | }, |
209 | { }, | 209 | { }, |
210 | }; | 210 | }; |