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>


   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 # Copyright 2010 QLogic Corporation
  23 
  24 #
  25 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  26 # Use is subject to license terms.
  27 #
  28 # Qlogic Fibre Channel Adapter driver configuration
  29 #
  30 #ident  "Copyright 2010 QLogic Corporation; ql.conf" 
  31 #
  32 
  33 #
  34 # Copyright (C) QLogic Corporation 1998-2010. All rights reserved.
  35 #
  36 
  37 #   File is setup as the default parameters for all adapters in the
  38 #   system.
  39 #   If a parameter needs to be changed for a particular adapter,
  40 #   make a copy of the parameter. Then change the hba number
  41 #   (decimal) in the parameter to match the adapter instance number
  42 #   that is displayed during the boot process. Now alter the
  43 #   parameter for the adapter.
  44 #
  45 #   example:
  46 #       Setting hard address of 124 and 125 for adapter
  47 #       instance 3 and 4 respectively.
  48 #
  49 #       Before:
  50 #           enable-adapter-hard-loop-ID=0;
  51 #
  52 #           adapter-hard-loop-ID=0;
  53 #
  54 #       After:


 165 #Name:  Connection options
 166 #Type:  Integer, mode; Range: 0 - 2; Default: 2
 167 #       0 = loop only
 168 #       1 = point-to-point only
 169 #       2 = loop preferred, else point-to-point
 170 #Usage: This field specifies the connection mode the driver firmware
 171 #       uses. When connecting the HBA to a switch port with auto-
 172 #       mode sensing capability (a G port), it is recommended that this
 173 #       parameter be set to either 0 or 1, not 2. Setting this
 174 #       parameter to 2 when connected to a G port on a switch may
 175 #       result in device lost or system hang.
 176 connection-options=2;
 177 
 178 #Name:  Enable FCP 2 Error Recovery
 179 #Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
 180 #Usage: This field enables/disables the Fibre Channel FCP 2 error
 181 #       recovery support.
 182 enable-FCP-2-error-recovery=1;
 183 
 184 #Name:  Fibre Channel Data Rate Option
 185 #Type:  Integer, mode; Range: 0-4; Default: 2
 186 #       0 = 1 gigabit/second
 187 #       1 = 2 gigabit/second
 188 #       2 = Auto-negotiate
 189 #       3 = 4 gigabit/second
 190 #       4 = 8 gigabit/second

 191 #Usage: This field specifies the data rate which the driver uses.
 192 fc-data-rate=2;
 193 
 194 #Name:  Link down timeout
 195 #Type:  Integer, seconds; Range: 0 - 240; Default: 0
 196 #Usage: This field specifies the amount of time the driver waits for
 197 #       a Fibre Channel loop to come up before reporting the failure.
 198 #NOTE:  Small values may report transient errors that should be ignored.
 199 link-down-timeout=0;
 200 
 201 #Name:  Link down error
 202 #Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
 203 #Usage: This field disables the driver error reporting during link down
 204 #       conditions.
 205 enable-link-down-error=1;
 206 
 207 #Name:  Enable extended logging
 208 #Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
 209 #Usage: This field enables logging of driver detected events occurring
 210 #       either in the driver or fibre channel bus. Events are logged


 216 #Usage: These flags are used to force a firmware dump when the flag
 217 #       condition occurs. More than one flag bit can be combined to
 218 #       obtain the desired result.
 219 #       TAKE_FW_DUMP_ON_MAILBOX_TIMEOUT         1
 220 #       TAKE_FW_DUMP_ON_ISP_SYSTEM_ERROR        2
 221 #       TAKE_FW_DUMP_ON_DRIVER_COMMAND_TIMEOUT  4
 222 #       TAKE_FW_DUMP_ON_LOOP_OFFLINE_TIMEOUT    8
 223 firmware-dump-flags=0;
 224 
 225 #Name:  PCI max read request override
 226 #Type:  Integer, bytes; Range: 128, 256, 512, 1024, 2048, 4096
 227 #Usage: This field specifies the value to be used for the PCI max read
 228 #       request setting, overriding the default value or the value programmed
 229 #       by the system.
 230 #NOTE:  The minimum value is 128 bytes on PCI Express and 512 on PCI; if
 231 #       this variable does not exist or is not equal to 128, 256, 512,
 232 #       1024, 2048 or 4096, the ISP2xxx uses the default or the value
 233 #       specified by the system.
 234 pci-max-read-request=2048;
 235 
 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 #Name:  Init Loop Sync Time
 244 #Type:  Integer, seconds; Range: 1 - 240; Default: 10
 245 #Usage: This field specific the time the driver will wait for the
 246 #       switch and the HBA firmware to sync during boot or the
 247 #       initial loading of the driver.
 248 init-loop-sync-wait=10;
 249 
 250 #Name:  DDI Force Load
 251 #Type:  String List
 252 #Usage: This field declares firmware module paths so that they get
 253 #       loaded early enough to be available for qlc root instance to
 254 #       use.  Correct operation depends on the value of 'ddi-forceload';
 255 #       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";












 257 


   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 # Copyright 2015 QLogic Corporation
  23 
  24 #
  25 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  26 # Use is subject to license terms.
  27 #
  28 # Qlogic Fibre Channel Adapter driver configuration
  29 #
  30 #ident  "Copyright 2015 QLogic Corporation; ql.conf"
  31 #
  32 
  33 #
  34 # Copyright (C) QLogic Corporation 1998-2015. All rights reserved.
  35 #
  36 
  37 #   File is setup as the default parameters for all adapters in the
  38 #   system.
  39 #   If a parameter needs to be changed for a particular adapter,
  40 #   make a copy of the parameter. Then change the hba number
  41 #   (decimal) in the parameter to match the adapter instance number
  42 #   that is displayed during the boot process. Now alter the
  43 #   parameter for the adapter.
  44 #
  45 #   example:
  46 #       Setting hard address of 124 and 125 for adapter
  47 #       instance 3 and 4 respectively.
  48 #
  49 #       Before:
  50 #           enable-adapter-hard-loop-ID=0;
  51 #
  52 #           adapter-hard-loop-ID=0;
  53 #
  54 #       After:


 165 #Name:  Connection options
 166 #Type:  Integer, mode; Range: 0 - 2; Default: 2
 167 #       0 = loop only
 168 #       1 = point-to-point only
 169 #       2 = loop preferred, else point-to-point
 170 #Usage: This field specifies the connection mode the driver firmware
 171 #       uses. When connecting the HBA to a switch port with auto-
 172 #       mode sensing capability (a G port), it is recommended that this
 173 #       parameter be set to either 0 or 1, not 2. Setting this
 174 #       parameter to 2 when connected to a G port on a switch may
 175 #       result in device lost or system hang.
 176 connection-options=2;
 177 
 178 #Name:  Enable FCP 2 Error Recovery
 179 #Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
 180 #Usage: This field enables/disables the Fibre Channel FCP 2 error
 181 #       recovery support.
 182 enable-FCP-2-error-recovery=1;
 183 
 184 #Name:  Fibre Channel Data Rate Option
 185 #Type:  Integer, mode; Range: 0-5; Default: 2
 186 #       0 = 1 gigabit/second
 187 #       1 = 2 gigabit/second
 188 #       2 = Auto-negotiate
 189 #       3 = 4 gigabit/second
 190 #       4 = 8 gigabit/second
 191 #       5 = 16 gigabit/second
 192 #Usage: This field specifies the data rate which the driver uses.
 193 fc-data-rate=2;
 194 
 195 #Name:  Link down timeout
 196 #Type:  Integer, seconds; Range: 0 - 240; Default: 0
 197 #Usage: This field specifies the amount of time the driver waits for
 198 #       a Fibre Channel loop to come up before reporting the failure.
 199 #NOTE:  Small values may report transient errors that should be ignored.
 200 link-down-timeout=0;
 201 
 202 #Name:  Link down error
 203 #Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 1
 204 #Usage: This field disables the driver error reporting during link down
 205 #       conditions.
 206 enable-link-down-error=1;
 207 
 208 #Name:  Enable extended logging
 209 #Type:  Integer, flag; Range: 0 (disable), 1 (enable); Default: 0
 210 #Usage: This field enables logging of driver detected events occurring
 211 #       either in the driver or fibre channel bus. Events are logged


 217 #Usage: These flags are used to force a firmware dump when the flag
 218 #       condition occurs. More than one flag bit can be combined to
 219 #       obtain the desired result.
 220 #       TAKE_FW_DUMP_ON_MAILBOX_TIMEOUT         1
 221 #       TAKE_FW_DUMP_ON_ISP_SYSTEM_ERROR        2
 222 #       TAKE_FW_DUMP_ON_DRIVER_COMMAND_TIMEOUT  4
 223 #       TAKE_FW_DUMP_ON_LOOP_OFFLINE_TIMEOUT    8
 224 firmware-dump-flags=0;
 225 
 226 #Name:  PCI max read request override
 227 #Type:  Integer, bytes; Range: 128, 256, 512, 1024, 2048, 4096
 228 #Usage: This field specifies the value to be used for the PCI max read
 229 #       request setting, overriding the default value or the value programmed
 230 #       by the system.
 231 #NOTE:  The minimum value is 128 bytes on PCI Express and 512 on PCI; if
 232 #       this variable does not exist or is not equal to 128, 256, 512,
 233 #       1024, 2048 or 4096, the ISP2xxx uses the default or the value
 234 #       specified by the system.
 235 pci-max-read-request=2048;
 236 







 237 #Name:  Init Loop Sync Time
 238 #Type:  Integer, seconds; Range: 1 - 240; Default: 10
 239 #Usage: This field specific the time the driver will wait for the
 240 #       switch and the HBA firmware to sync during boot or the
 241 #       initial loading of the driver.
 242 init-loop-sync-wait=10;
 243 
 244 #Name:  DDI Force Load
 245 #Type:  String List
 246 #Usage: This field declares firmware module paths so that they get
 247 #       loaded early enough to be available for qlc root instance to
 248 #       use.  Correct operation depends on the value of 'ddi-forceload';
 249 #       this value should not be changed by the user.
 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;
 263