sysctl.c (f9cd49033b349b8be3bb1f01b39eed837853d880) | sysctl.c (fe2c6338fd2c6f383c4d4164262f35c8f3708e1f) |
---|---|
1/* 2 * Copyright (c) 2006 Oracle. 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 8 * OpenIB.org BSD license below: --- 35 unchanged lines hidden (view full) --- 44unsigned long rds_sysctl_reconnect_min_jiffies; 45unsigned long rds_sysctl_reconnect_max_jiffies = HZ; 46 47unsigned int rds_sysctl_max_unacked_packets = 8; 48unsigned int rds_sysctl_max_unacked_bytes = (16 << 20); 49 50unsigned int rds_sysctl_ping_enable = 1; 51 | 1/* 2 * Copyright (c) 2006 Oracle. 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 8 * OpenIB.org BSD license below: --- 35 unchanged lines hidden (view full) --- 44unsigned long rds_sysctl_reconnect_min_jiffies; 45unsigned long rds_sysctl_reconnect_max_jiffies = HZ; 46 47unsigned int rds_sysctl_max_unacked_packets = 8; 48unsigned int rds_sysctl_max_unacked_bytes = (16 << 20); 49 50unsigned int rds_sysctl_ping_enable = 1; 51 |
52static ctl_table rds_sysctl_rds_table[] = { | 52static struct ctl_table rds_sysctl_rds_table[] = { |
53 { 54 .procname = "reconnect_min_delay_ms", 55 .data = &rds_sysctl_reconnect_min_jiffies, 56 .maxlen = sizeof(unsigned long), 57 .mode = 0644, 58 .proc_handler = proc_doulongvec_ms_jiffies_minmax, 59 .extra1 = &rds_sysctl_reconnect_min, 60 .extra2 = &rds_sysctl_reconnect_max_jiffies, --- 50 unchanged lines hidden --- | 53 { 54 .procname = "reconnect_min_delay_ms", 55 .data = &rds_sysctl_reconnect_min_jiffies, 56 .maxlen = sizeof(unsigned long), 57 .mode = 0644, 58 .proc_handler = proc_doulongvec_ms_jiffies_minmax, 59 .extra1 = &rds_sysctl_reconnect_min, 60 .extra2 = &rds_sysctl_reconnect_max_jiffies, --- 50 unchanged lines hidden --- |