ib_sysctl.c (f9cd49033b349b8be3bb1f01b39eed837853d880) | ib_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: --- 47 unchanged lines hidden (view full) --- 56 * disables initial FC credit exchange. 57 * If it's ever possible to drop 3.0 support, 58 * setting this to 1 and moving init/refill of send/recv 59 * rings from ib_cm_connect_complete() back into ib_setup_qp() 60 * will cause credits to be added before protocol negotiation. 61 */ 62unsigned int rds_ib_sysctl_flow_control = 0; 63 | 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: --- 47 unchanged lines hidden (view full) --- 56 * disables initial FC credit exchange. 57 * If it's ever possible to drop 3.0 support, 58 * setting this to 1 and moving init/refill of send/recv 59 * rings from ib_cm_connect_complete() back into ib_setup_qp() 60 * will cause credits to be added before protocol negotiation. 61 */ 62unsigned int rds_ib_sysctl_flow_control = 0; 63 |
64static ctl_table rds_ib_sysctl_table[] = { | 64static struct ctl_table rds_ib_sysctl_table[] = { |
65 { 66 .procname = "max_send_wr", 67 .data = &rds_ib_sysctl_max_send_wr, 68 .maxlen = sizeof(unsigned long), 69 .mode = 0644, 70 .proc_handler = proc_doulongvec_minmax, 71 .extra1 = &rds_ib_sysctl_max_wr_min, 72 .extra2 = &rds_ib_sysctl_max_wr_max, --- 49 unchanged lines hidden --- | 65 { 66 .procname = "max_send_wr", 67 .data = &rds_ib_sysctl_max_send_wr, 68 .maxlen = sizeof(unsigned long), 69 .mode = 0644, 70 .proc_handler = proc_doulongvec_minmax, 71 .extra1 = &rds_ib_sysctl_max_wr_min, 72 .extra2 = &rds_ib_sysctl_max_wr_max, --- 49 unchanged lines hidden --- |