|
@@ -73,6 +73,8 @@ static unsigned int xprt_rdma_memreg_strategy = RPCRDMA_FRMR;
|
|
|
|
|
|
static unsigned int min_slot_table_size = RPCRDMA_MIN_SLOT_TABLE;
|
|
|
static unsigned int max_slot_table_size = RPCRDMA_MAX_SLOT_TABLE;
|
|
|
+static unsigned int min_inline_size = RPCRDMA_MIN_INLINE;
|
|
|
+static unsigned int max_inline_size = RPCRDMA_MAX_INLINE;
|
|
|
static unsigned int zero;
|
|
|
static unsigned int max_padding = PAGE_SIZE;
|
|
|
static unsigned int min_memreg = RPCRDMA_BOUNCEBUFFERS;
|
|
@@ -96,6 +98,8 @@ static struct ctl_table xr_tunables_table[] = {
|
|
|
.maxlen = sizeof(unsigned int),
|
|
|
.mode = 0644,
|
|
|
.proc_handler = proc_dointvec,
|
|
|
+ .extra1 = &min_inline_size,
|
|
|
+ .extra2 = &max_inline_size,
|
|
|
},
|
|
|
{
|
|
|
.procname = "rdma_max_inline_write",
|
|
@@ -103,6 +107,8 @@ static struct ctl_table xr_tunables_table[] = {
|
|
|
.maxlen = sizeof(unsigned int),
|
|
|
.mode = 0644,
|
|
|
.proc_handler = proc_dointvec,
|
|
|
+ .extra1 = &min_inline_size,
|
|
|
+ .extra2 = &max_inline_size,
|
|
|
},
|
|
|
{
|
|
|
.procname = "rdma_inline_write_padding",
|