diff options
author | Steve Wise <swise@opengridcomputing.com> | 2007-07-29 16:12:26 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-10-09 22:59:04 -0400 |
commit | e54664c0958acf14ef3a65d1b78f4a54b437cdf7 (patch) | |
tree | 6f99569d872294ac208dff7da83e097b05ecc25f /drivers/infiniband/hw/cxgb3 | |
parent | bbf25010f1a6b761914430f5fca081ec8c7accd1 (diff) |
RDMA/cxgb3: Make the iw_cxgb3 module parameters writable
Allow changing parameter values without having to reload the module.
This is safe because these parameters are only looked at when a new
connection is established.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch_cm.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb3/iwch_cm.c index 1cdfcd43b0bc..20ba372dd182 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_cm.c +++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c | |||
@@ -63,37 +63,37 @@ static char *states[] = { | |||
63 | }; | 63 | }; |
64 | 64 | ||
65 | static int ep_timeout_secs = 10; | 65 | static int ep_timeout_secs = 10; |
66 | module_param(ep_timeout_secs, int, 0444); | 66 | module_param(ep_timeout_secs, int, 0644); |
67 | MODULE_PARM_DESC(ep_timeout_secs, "CM Endpoint operation timeout " | 67 | MODULE_PARM_DESC(ep_timeout_secs, "CM Endpoint operation timeout " |
68 | "in seconds (default=10)"); | 68 | "in seconds (default=10)"); |
69 | 69 | ||
70 | static int mpa_rev = 1; | 70 | static int mpa_rev = 1; |
71 | module_param(mpa_rev, int, 0444); | 71 | module_param(mpa_rev, int, 0644); |
72 | MODULE_PARM_DESC(mpa_rev, "MPA Revision, 0 supports amso1100, " | 72 | MODULE_PARM_DESC(mpa_rev, "MPA Revision, 0 supports amso1100, " |
73 | "1 is spec compliant. (default=1)"); | 73 | "1 is spec compliant. (default=1)"); |
74 | 74 | ||
75 | static int markers_enabled = 0; | 75 | static int markers_enabled = 0; |
76 | module_param(markers_enabled, int, 0444); | 76 | module_param(markers_enabled, int, 0644); |
77 | MODULE_PARM_DESC(markers_enabled, "Enable MPA MARKERS (default(0)=disabled)"); | 77 | MODULE_PARM_DESC(markers_enabled, "Enable MPA MARKERS (default(0)=disabled)"); |
78 | 78 | ||
79 | static int crc_enabled = 1; | 79 | static int crc_enabled = 1; |
80 | module_param(crc_enabled, int, 0444); | 80 | module_param(crc_enabled, int, 0644); |
81 | MODULE_PARM_DESC(crc_enabled, "Enable MPA CRC (default(1)=enabled)"); | 81 | MODULE_PARM_DESC(crc_enabled, "Enable MPA CRC (default(1)=enabled)"); |
82 | 82 | ||
83 | static int rcv_win = 256 * 1024; | 83 | static int rcv_win = 256 * 1024; |
84 | module_param(rcv_win, int, 0444); | 84 | module_param(rcv_win, int, 0644); |
85 | MODULE_PARM_DESC(rcv_win, "TCP receive window in bytes (default=256)"); | 85 | MODULE_PARM_DESC(rcv_win, "TCP receive window in bytes (default=256)"); |
86 | 86 | ||
87 | static int snd_win = 32 * 1024; | 87 | static int snd_win = 32 * 1024; |
88 | module_param(snd_win, int, 0444); | 88 | module_param(snd_win, int, 0644); |
89 | MODULE_PARM_DESC(snd_win, "TCP send window in bytes (default=32KB)"); | 89 | MODULE_PARM_DESC(snd_win, "TCP send window in bytes (default=32KB)"); |
90 | 90 | ||
91 | static unsigned int nocong = 0; | 91 | static unsigned int nocong = 0; |
92 | module_param(nocong, uint, 0444); | 92 | module_param(nocong, uint, 0644); |
93 | MODULE_PARM_DESC(nocong, "Turn off congestion control (default=0)"); | 93 | MODULE_PARM_DESC(nocong, "Turn off congestion control (default=0)"); |
94 | 94 | ||
95 | static unsigned int cong_flavor = 1; | 95 | static unsigned int cong_flavor = 1; |
96 | module_param(cong_flavor, uint, 0444); | 96 | module_param(cong_flavor, uint, 0644); |
97 | MODULE_PARM_DESC(cong_flavor, "TCP Congestion control flavor (default=1)"); | 97 | MODULE_PARM_DESC(cong_flavor, "TCP Congestion control flavor (default=1)"); |
98 | 98 | ||
99 | static void process_work(struct work_struct *work); | 99 | static void process_work(struct work_struct *work); |