aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprtrdma/transport.c')
-rw-r--r--net/sunrpc/xprtrdma/transport.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/transport.c b/net/sunrpc/xprtrdma/transport.c
index ec6d1e7a1941..c7d2380bb5e3 100644
--- a/net/sunrpc/xprtrdma/transport.c
+++ b/net/sunrpc/xprtrdma/transport.c
@@ -71,6 +71,7 @@ static unsigned int xprt_rdma_max_inline_read = RPCRDMA_DEF_INLINE;
71static unsigned int xprt_rdma_max_inline_write = RPCRDMA_DEF_INLINE; 71static unsigned int xprt_rdma_max_inline_write = RPCRDMA_DEF_INLINE;
72static unsigned int xprt_rdma_inline_write_padding; 72static unsigned int xprt_rdma_inline_write_padding;
73static unsigned int xprt_rdma_memreg_strategy = RPCRDMA_FRMR; 73static unsigned int xprt_rdma_memreg_strategy = RPCRDMA_FRMR;
74 int xprt_rdma_pad_optimize = 0;
74 75
75#ifdef RPC_DEBUG 76#ifdef RPC_DEBUG
76 77
@@ -136,6 +137,14 @@ static ctl_table xr_tunables_table[] = {
136 .extra2 = &max_memreg, 137 .extra2 = &max_memreg,
137 }, 138 },
138 { 139 {
140 .ctl_name = CTL_UNNUMBERED,
141 .procname = "rdma_pad_optimize",
142 .data = &xprt_rdma_pad_optimize,
143 .maxlen = sizeof(unsigned int),
144 .mode = 0644,
145 .proc_handler = &proc_dointvec,
146 },
147 {
139 .ctl_name = 0, 148 .ctl_name = 0,
140 }, 149 },
141}; 150};