Print this page
NEX-5717 import QLogic 16G FC drivers
Reviewed by: Steve Peng <steve.peng@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/uts/common/io/fibre-channel/fca/qlc/qlc.conf
+++ new/usr/src/uts/common/io/fibre-channel/fca/qlc/qlc.conf
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
|
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 -# Copyright 2010 QLogic Corporation
22 +# Copyright 2015 QLogic Corporation
23 23
24 24 #
25 25 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
26 26 # Use is subject to license terms.
27 27 #
28 28 # Qlogic Fibre Channel Adapter driver configuration
29 29 #
30 -#ident "Copyright 2010 QLogic Corporation; ql.conf"
30 +#ident "Copyright 2015 QLogic Corporation; ql.conf"
31 31 #
32 32
33 33 #
34 -# Copyright (C) QLogic Corporation 1998-2010. All rights reserved.
34 +# Copyright (C) QLogic Corporation 1998-2015. All rights reserved.
35 35 #
36 36
37 37 # File is setup as the default parameters for all adapters in the
38 38 # system.
39 39 # If a parameter needs to be changed for a particular adapter,
40 40 # make a copy of the parameter. Then change the hba number
41 41 # (decimal) in the parameter to match the adapter instance number
42 42 # that is displayed during the boot process. Now alter the
43 43 # parameter for the adapter.
44 44 #
45 45 # example:
46 46 # Setting hard address of 124 and 125 for adapter
47 47 # instance 3 and 4 respectively.
48 48 #
49 49 # Before:
50 50 # enable-adapter-hard-loop-ID=0;
51 51 #
52 52 # adapter-hard-loop-ID=0;
53 53 #
54 54 # After:
55 55 # enable-adapter-hard-loop-ID=0;
56 56 # hba3-enable-adapter-hard-loop-ID=1;
57 57 # hba4-enable-adapter-hard-loop-ID=1;
58 58 #
59 59 # adapter-hard-loop-ID=0;
60 60 # hba3-adapter-hard-loop-ID=124;
61 61 # hba4-adapter-hard-loop-ID=125;
62 62 #
63 63
64 64 #Name: Maximum frame length
65 65 #Type: Integer, bytes; Range: 512, 1024, 2048
66 66 # Default: 2048
67 67 #Usage: This field specifies the frame payload length (in bytes) used by
68 68 # the ISP2xxx firmware.
69 69 #NOTE: The minimum value is 512 bytes; if this variable is not equal to
70 70 # 512, 1024 or 2048, the ISP2xxx defaults to values specified
71 71 # above.
72 72 max-frame-length=2048;
73 73
74 74 #Name: Execution throttle
75 75 #Type: Integer, commands; Range: 1 - 65535; Default: 32
76 76 #Usage: This field specifies the maximum number of commands sent per LUN
77 77 # by the ISP2xxx firmware.
78 78 #NOTE: Exceeding device capabilities causes unneeded command retries
79 79 # that impact performance.
80 80 execution-throttle=32;
81 81
82 82 #Name: Login timeout
83 83 #Type: Integer, count; Range: 0 - 255; Default: 3
84 84 #Usage: This field specifies the maximum number seconds to
85 85 # wait for the login of a device to complete.
86 86 #NOTE: Large values may cause long delays during initialization
87 87 # and device reconfiguration.
88 88 login-timeout=3;
89 89
90 90 #Name: Login retry count
91 91 #Type: Integer, count; Range: 0 - 255; Default: 4
92 92 #Usage: This field specifies the maximum number of retry attempts
93 93 # for the firmware when the login into a device fails.
94 94 #NOTE: Large values may cause long delays during initialization
95 95 # and device reconfiguration.
96 96 login-retry-count=4;
97 97
98 98 #Name: Enable adapter hard loop ID
99 99 #Type: Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
100 100 #Usage: This field allows the setting of adapters hard loop ID on the
101 101 # fibre channel bus.
102 102 #NOTE: May be necessary on some bus configurations where devices fail to
103 103 # appear.
104 104 enable-adapter-hard-loop-ID=0;
105 105
106 106 #Name: Adapter hard loop ID
107 107 #Type: Integer, ID; Range: 0-125; Default: 0
108 108 #Usage: This field specifies the adapters hard loop ID to be used on the
109 109 # Fibre Channel bus.
110 110 #NOTE: This field takes effect only when adapter hard loop ID is enabled.
111 111 adapter-hard-loop-ID=0;
112 112
113 113 #Name: Enable LIP reset on bus reset
114 114 #Type: Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
115 115 #Usage: This field enables the adapter to issue a LIP reset during Fibre
116 116 # Channel reset.
117 117 enable-LIP-reset-on-bus-reset=0;
118 118
119 119 #Name: Enable LIP full login on bus reset
120 120 #Type: Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
121 121 #Usage: This field enables the adapter to issue a LIP full login reset
122 122 # during Fibre Channel reset.
123 123 enable-LIP-full-login-on-bus-reset=1;
124 124
125 125 #Name: Enable target reset on bus reset
126 126 #Type: Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
127 127 #Usage: This field enables the adapter to issue a LIP target reset during
128 128 # Fibre Channel reset.
129 129 enable-target-reset-on-bus-reset=0;
130 130
131 131 #Name: Reset delay
132 132 #Type: Integer, seconds; Range: 1 - 255; Default: 5
133 133 #Usage: This field specifies the delay after a reset before sending
134 134 # commands to the devices on the Fibre Channel bus.
135 135 reset-delay=5;
136 136
137 137 #Name: Port down retry count
138 138 #Type: Integer, count; Range: 0 - 255; Default: 8
139 139 #Usage: This field specifies the amount of command retries to be done
140 140 # when devices are not responding on the Fibre Channel bus.
141 141 #NOTE: Large values may cause long delays for failover software to
142 142 # detect a failing device.
143 143 port-down-retry-count=8;
144 144
145 145 #Name: Port down retry delay
146 146 #Type: Integer, count; Range 0 - 255 seconds. Default: 2
147 147 #Usage: Amount of time to delay between port down retries.
148 148 #NOTE: Large values may cause long delays for failover software to
149 149 # detect a failing device. May also cause upper layer driver
150 150 # or applications to timeout the IO's.
151 151 port-down-retry-delay=2;
152 152
153 153 #Name: Queue full retry count
154 154 #Type: Integer, count. Range: 0 - 255. Default: 16
155 155 #Usage: This field specified the number of times to retry a SCSI
156 156 # queue full error.
157 157 queue-full-retry-count=16;
158 158
159 159 #Name: Queue full retry delay
160 160 #Type: Integer, seconds. Range: 0 - 255 seconds. Default: 2
161 161 #Usage: This field specifies the amount of time to delay after a SCSI
162 162 # queue full error before starting any new I/O commands.
163 163 queue-full-retry-delay=2;
164 164
165 165 #Name: Connection options
166 166 #Type: Integer, mode; Range: 0 - 2; Default: 2
167 167 # 0 = loop only
168 168 # 1 = point-to-point only
169 169 # 2 = loop preferred, else point-to-point
170 170 #Usage: This field specifies the connection mode the driver firmware
171 171 # uses. When connecting the HBA to a switch port with auto-
172 172 # mode sensing capability (a G port), it is recommended that this
173 173 # parameter be set to either 0 or 1, not 2. Setting this
174 174 # parameter to 2 when connected to a G port on a switch may
|
↓ open down ↓ |
130 lines elided |
↑ open up ↑ |
175 175 # result in device lost or system hang.
176 176 connection-options=2;
177 177
178 178 #Name: Enable FCP 2 Error Recovery
179 179 #Type: Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
180 180 #Usage: This field enables/disables the Fibre Channel FCP 2 error
181 181 # recovery support.
182 182 enable-FCP-2-error-recovery=1;
183 183
184 184 #Name: Fibre Channel Data Rate Option
185 -#Type: Integer, mode; Range: 0-4; Default: 2
185 +#Type: Integer, mode; Range: 0-5; Default: 2
186 186 # 0 = 1 gigabit/second
187 187 # 1 = 2 gigabit/second
188 188 # 2 = Auto-negotiate
189 189 # 3 = 4 gigabit/second
190 190 # 4 = 8 gigabit/second
191 +# 5 = 16 gigabit/second
191 192 #Usage: This field specifies the data rate which the driver uses.
192 193 fc-data-rate=2;
193 194
194 195 #Name: Link down timeout
195 196 #Type: Integer, seconds; Range: 0 - 240; Default: 0
196 197 #Usage: This field specifies the amount of time the driver waits for
197 198 # a Fibre Channel loop to come up before reporting the failure.
198 199 #NOTE: Small values may report transient errors that should be ignored.
199 200 link-down-timeout=0;
200 201
201 202 #Name: Link down error
202 203 #Type: Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
203 204 #Usage: This field disables the driver error reporting during link down
204 205 # conditions.
205 206 enable-link-down-error=1;
206 207
207 208 #Name: Enable extended logging
208 209 #Type: Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
209 210 #Usage: This field enables logging of driver detected events occurring
210 211 # either in the driver or fibre channel bus. Events are logged
211 212 # in Solaris /var/adm/messages file.
212 213 extended-logging=0;
213 214
214 215 #Name: Firmware Dump Flags
215 216 #Type: Integer, flag bits; Range: 0 (disable), 1 (enable); Default: 0
216 217 #Usage: These flags are used to force a firmware dump when the flag
217 218 # condition occurs. More than one flag bit can be combined to
218 219 # obtain the desired result.
219 220 # TAKE_FW_DUMP_ON_MAILBOX_TIMEOUT 1
220 221 # TAKE_FW_DUMP_ON_ISP_SYSTEM_ERROR 2
221 222 # TAKE_FW_DUMP_ON_DRIVER_COMMAND_TIMEOUT 4
222 223 # TAKE_FW_DUMP_ON_LOOP_OFFLINE_TIMEOUT 8
223 224 firmware-dump-flags=0;
224 225
225 226 #Name: PCI max read request override
|
↓ open down ↓ |
25 lines elided |
↑ open up ↑ |
226 227 #Type: Integer, bytes; Range: 128, 256, 512, 1024, 2048, 4096
227 228 #Usage: This field specifies the value to be used for the PCI max read
228 229 # request setting, overriding the default value or the value programmed
229 230 # by the system.
230 231 #NOTE: The minimum value is 128 bytes on PCI Express and 512 on PCI; if
231 232 # this variable does not exist or is not equal to 128, 256, 512,
232 233 # 1024, 2048 or 4096, the ISP2xxx uses the default or the value
233 234 # specified by the system.
234 235 pci-max-read-request=2048;
235 236
236 -#Name: DDI Force Attach
237 -#Type: Interger, byte; Range: 0, 1
238 -#Usage: This field specifies to the Solaris kernel during boot to always
239 -# load all instances of the driver regardless of system events or
240 -# conditions.
241 -ddi-forceattach=1;
242 -
243 237 #Name: Init Loop Sync Time
244 238 #Type: Integer, seconds; Range: 1 - 240; Default: 10
245 239 #Usage: This field specific the time the driver will wait for the
246 240 # switch and the HBA firmware to sync during boot or the
247 241 # initial loading of the driver.
248 242 init-loop-sync-wait=10;
249 243
250 244 #Name: DDI Force Load
251 245 #Type: String List
252 246 #Usage: This field declares firmware module paths so that they get
253 247 # loaded early enough to be available for qlc root instance to
254 248 # use. Correct operation depends on the value of 'ddi-forceload';
255 249 # this value should not be changed by the user.
256 -ddi-forceload = "misc/qlc/qlc_fw_2200", "misc/qlc/qlc_fw_2300", "misc/qlc/qlc_fw_2400", "misc/qlc/qlc_fw_2500", "misc/qlc/qlc_fw_6322", "misc/qlc/qlc_fw_8100";
250 +ddi-forceload = "misc/qlc/qlc_fw_2200", "misc/qlc/qlc_fw_2300", "misc/qlc/qlc_fw_2400", "misc/qlc/qlc_fw_2500", "misc/qlc/qlc_fw_2700", "misc/qlc/qlc_fw_6322", "misc/qlc/qlc_fw_8100", "misc/qlc/qlc_fw_8301fc";
251 +
252 +#Name: MSI-X vectors
253 +#Type: Integer, count; Range 0 - 255 vectors; Default: 5
254 +#Usage: Number of MSI-X vectors to use if supported by adapter.
255 +#NOTE: The minimum number used will be what is required for the adapter
256 +# to function, which may be greater than the supplied value.
257 +msix-vectors=5;
258 +
259 +#Name: Completion threads
260 +#Type: Integer, count; Range 1 - 255 threads; Default: 4
261 +#Usage: Number of threads used for I/O completion callbacks.
262 +completion-threads=4;
257 263
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX