transport.c (bf61c8840efe60fd8f91446860b63338fb424158) | transport.c (fe2c6338fd2c6f383c4d4164262f35c8f3708e1f) |
---|---|
1/* 2 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the BSD-type 8 * license below: --- 72 unchanged lines hidden (view full) --- 81static unsigned int max_slot_table_size = RPCRDMA_MAX_SLOT_TABLE; 82static unsigned int zero; 83static unsigned int max_padding = PAGE_SIZE; 84static unsigned int min_memreg = RPCRDMA_BOUNCEBUFFERS; 85static unsigned int max_memreg = RPCRDMA_LAST - 1; 86 87static struct ctl_table_header *sunrpc_table_header; 88 | 1/* 2 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the BSD-type 8 * license below: --- 72 unchanged lines hidden (view full) --- 81static unsigned int max_slot_table_size = RPCRDMA_MAX_SLOT_TABLE; 82static unsigned int zero; 83static unsigned int max_padding = PAGE_SIZE; 84static unsigned int min_memreg = RPCRDMA_BOUNCEBUFFERS; 85static unsigned int max_memreg = RPCRDMA_LAST - 1; 86 87static struct ctl_table_header *sunrpc_table_header; 88 |
89static ctl_table xr_tunables_table[] = { | 89static struct ctl_table xr_tunables_table[] = { |
90 { 91 .procname = "rdma_slot_table_entries", 92 .data = &xprt_rdma_slot_table_entries, 93 .maxlen = sizeof(unsigned int), 94 .mode = 0644, 95 .proc_handler = proc_dointvec_minmax, 96 .extra1 = &min_slot_table_size, 97 .extra2 = &max_slot_table_size --- 35 unchanged lines hidden (view full) --- 133 .data = &xprt_rdma_pad_optimize, 134 .maxlen = sizeof(unsigned int), 135 .mode = 0644, 136 .proc_handler = proc_dointvec, 137 }, 138 { }, 139}; 140 | 90 { 91 .procname = "rdma_slot_table_entries", 92 .data = &xprt_rdma_slot_table_entries, 93 .maxlen = sizeof(unsigned int), 94 .mode = 0644, 95 .proc_handler = proc_dointvec_minmax, 96 .extra1 = &min_slot_table_size, 97 .extra2 = &max_slot_table_size --- 35 unchanged lines hidden (view full) --- 133 .data = &xprt_rdma_pad_optimize, 134 .maxlen = sizeof(unsigned int), 135 .mode = 0644, 136 .proc_handler = proc_dointvec, 137 }, 138 { }, 139}; 140 |
141static ctl_table sunrpc_table[] = { | 141static struct ctl_table sunrpc_table[] = { |
142 { 143 .procname = "sunrpc", 144 .mode = 0555, 145 .child = xr_tunables_table 146 }, 147 { }, 148}; 149 --- 627 unchanged lines hidden --- | 142 { 143 .procname = "sunrpc", 144 .mode = 0555, 145 .child = xr_tunables_table 146 }, 147 { }, 148}; 149 --- 627 unchanged lines hidden --- |