# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright 2008 Emulex. All rights reserved. # Use is subject to License terms. # # # # # Solaris LightPulse emlxs driver: global initialized data. # # console-notices: Sets the verbose level for driver notices to the console. # console-warnings: Sets the verbose level for driver warnings to the console. # console-errors: Sets the verbose level for driver errors to the console. # # log-notices: Sets the verbose level for driver notices to the system log file*. # log-warnings: Sets the verbose level for driver warnings to the system log file*. # log-errors: Sets the verbose level for driver errors to the system log file*. # # *NOTE: The system log file is normally found at /var/adm/messages. # # Each parameter is a bit mask that enables/disables specific types of messages. # If the bit is set, then the messages of that type are enabled. # # The available message types are listed below: # # LOG_MISC 0x00000001 /* Misc events */ # LOG_DRIVER 0x00000002 /* Driver attach and detach events */ # LOG_INIT 0x00000004 /* HBA initialization events */ # LOG_MEM 0x00000008 /* Memory managment events */ # LOG_SLI 0x00000010 /* Service Level Interface (SLI) events */ # LOG_MBOX 0x00000020 /* Mailbox events */ # LOG_NODE 0x00000040 /* Node events */ # LOG_LINK 0x00000080 /* Link events */ # LOG_ELS 0x00000100 /* ELS events */ # LOG_PKT 0x00000200 /* General I/O packet events */ # LOG_FCP 0x00000400 /* FCP traffic events */ # LOG_TGTM 0x00000800 /* FCP target mode events */ # LOG_IP 0x00001000 /* IP traffic events */ # LOG_SFS 0x00002000 /* SFS events */ # LOG_IOCTL 0x00004000 /* IOCtl events */ # LOG_FIRMWARE 0x00008000 /* Firmware download events */ # LOG_CT 0x00010000 /* CT events */ # LOG_FCSP 0x00020000 /* FCSP events */ # LOG_RESERVED 0xfffc0000 /* Reserved for future use */ # # Range: Min:0 Max:0xffffffff # # console-notices = 0; (Default) # console-warnings = 0; (Default) # console-errors = 0; (Default) # # log-notices = 0xffffffff; (Default) # log-warnings = 0xffffffff; (Default) # log-errors = 0xffffffff; (Default) # console-notices=0; console-warnings=0; console-errors=0; log-notices=0xffffffff; log-warnings=0xffffffff; log-errors=0xffffffff; # num-iocbs: Sets the number of iocb buffers to allocate. # # Range: Min:128 Max:10240 Default:1024 # num-iocbs=1024; # max-xfer-size: Sets the maximum SCSI transfer size in bytes per IO # This parameter is only used by the driver on i386 platforms. # The driver does not limit transfer size on SPARC platforms. # # This parameter determines the scatter gather list buffer size. # A pool of buffers is reallocated by the driver during boot. # A larger transfer size requires a larger memory allocation. # # Memory_model max-xfer-size # ---------------------------------------- # Small 131072 - 339968 # Medium 339969 - 688128 # Large 688129 - 1388544 # # Range: Min:131072 Max:1388544 Default:339968 # max-xfer-size=339968; # ub-bufs: Sets the number of unsolicited buffers to be allocated. # # Range: Min:40 Max:16320 Default:1000 # ub-bufs=1000; # # +++ Variables relating to IP networking support. +++ # # network-on: Enable/Disable IP networking support in the driver. # # 0 = Disables IP networking support in the driver. # 1 = Enables IP networking in the driver. # # Range: Min:0 Max:1 Default:1 # network-on=1; # # +++ Fibre Channel specific parameters +++ # # topology: link topology for initializing the Fibre Channel connection. # # 0 = attempt loop mode, if it fails attempt point-to-point mode # 2 = attempt point-to-point mode only # 4 = attempt loop mode only # 6 = attempt point-to-point mode, if it fails attempt loop mode # # Set point-to-point mode if you want to run as an N_Port. # Set loop mode if you want to run as an NL_Port. # # Range: Min:0 Max:6 Default:0 # topology=0; # link-speed: Sets the link speed setting for initializing the Fibre Channel # connection. # # 0 = auto select # 1 = 1 Gigabaud # 2 = 2 Gigabaud # 4 = 4 Gigabaud # 8 = 8 Gigabaud # # Range: Min:0 Max:8 Default:0 # link-speed=0; # ack0: Determines if ACK0 is used instead of ACK1 for class 2 # acknowledgement. # # 0 = The driver will use ACK1 for class 2 acknowledgement. # 1 = The driver will use ACK0 for class 2 acknowledgement. # # Range: Min:0 Max:1 Default:0 # ack0=0; # cr-delay: Sets the coalesce response delay in the adapter. # # This value specifies a count of milliseconds after which an interrupt # response is generated if cr-count has not been satisfied. This value is # set to 0 to disable the Coalesce Response feature as default. # # Range: Min:0 Max:63 Default:0 # cr-delay=0; # cr-count: Sets the coalesce response count in the adapter. # # This value specifies a count of I/O completions after which an interrupt # response is generated. This feature is disabled if cr-delay is set to 0. # # Range: Min:1 Max:255 Default:1 # cr-count=1; # assign-alpa: Sets a preferred ALPA for the adapter. # # This is only valid if topology is loop. A zero setting means no preference. # If multiple adapter instances on the same host are on the same loop, # you will want to set this value differently for each adapter. # # For example: emlxs0-assign-alpa=0x01; assigns ALPA 0x01 to adapter 0 # emlxs1-assign-alpa=0x02; assigns ALPA 0x02 to adapter 1 # emlxs2-assign-alpa=0x04; assigns ALPA 0x04 to adapter 2 # # Range: Min:0x00 Max:0xef Default:0x00 (valid ALPA's only) # assign-alpa=0x00; # adisc-support: Sets the ADISC login support level. # # This sets the level of driver support for the Fibre Channel ADISC # login I/O recovery method. # # 0 = No support. Flush active I/O's for all FCP target devices at link down. # 1 = Partial support. Flush I/O's for non-FCP2 target devices at link down. # 2 = Full support. Hold active I/O's for all devices at link down. # # Range: Min:0 Max:2 Default:1 # adisc-support=1; # pm-support: Enable/Disable power management support in the driver. # # 0 = Disables power management support in the driver. # 1 = Enables power management support in the driver. # # Range: Min:0 Max:1 Default:0 # pm-support=0; # num-nodes: Number of fibre channel nodes (NPorts) the driver will support. # # 0 = Indicates auto detect limit of adapter. # # Range: Min:0 Max:4096 Default:0 # num-nodes=0; # pci-max-read: Sets the PCI-X max memory read byte count on the adapter. # # This value controls the adapter's max PCI-X memory read count. # On Sunfire x4100/4200 systems this parameter must be changed to # 1024 bytes. Currently, this parameter should only be modified on # Sunfire x4100/4200 systems due to the unique nature of the PCI-X bus # on these systems, otherwise it should be left as default. # # Options: 512, 1024, 2048, 4096 # # Range: Min:512 Max:4096 Default:2048 # # *Uncomment this parameter for Sunfire x4100/4200 systems only #pci-max-read=1024; # linkup-delay: Sets the linkup delay period (seconds) after initialization. # # This value controls how long the driver waits for the Fibre Channel # link to come up after an adapter reset before continuing normal operation. # # Range: Min:0 Max:60 Default:10 # linkup-delay=10; # enable-npiv: Enables NPIV support in the driver. # # Requires SLI3 mode support in the adapter firmware. # # Range: Min:0 Max:1 Default:0 # enable-npiv=0; # vport-restrict-login: Restricts login to virtual ports to conserve resources. # # Requires SLI3 mode support in the adapter firmware. # Requires enable-npiv parameter to be set to 1. # # Range: Min:0 Max:1 Default:1 # vport-restrict-login=1; # enable-auth: Enables DHCHAP support in the driver. # # Range: Min:0 Max:1 Default:0 # enable-auth=0; # target-mode: Controls COMSTAR target mode support for an adapter port. # # 0 = Disables target mode support. Enables initiator mode support. # 1 = Enables target mode support. Disables initiator mode support. # # Usage examples: # target-mode=1; Sets global default for target mode # emlxs0-target-mode=0; emlxs0 will be an initiator port # emlxs1-target-mode=1; emlxs1 will be a target port # # Range: Min:0 Max:1 Default:0 # target-mode=0; # ddi-forceattach: Force driver attach during system boot. # # 0 = Disables forced driver attach during system boot. (Default) # 1 = Enables forced driver attach during system boot. # # This parameter is required if you enable target-mode. # If target mode is enabled the emlxs driver MUST be force attached # at system boot to ensure remote initiators will be able to # discover it. # # Range: Min:0 Max:1 Default:0 # # *Uncomment this parameter when target-mode is enabled #ddi-forceattach=1 # fct-bufpool: Controls buffer pool used by COMSTAR for FCP IOs # This should ONLY be used if target-mode is enabled # # Each entry consists of "Size:Count" where: # Size is the decimal size, in bytes, of this buffer pool # Count is the decimal number of buffers of this corresponding size # There can be at most 16 different types of entries # # The default behavior for a target port is # fct-bufpool="512:256", # "8192:128", # "65536:64", # "131072:64"; # # Usage examples: # fct-bufpool Sets global default for buffer pool # emlxs0-fct-bufpool Sets buffer pool for emlxs0 # emlxs1-fct-bufpool Sets buffer pool for emlxs1 # # fct-queue-depth: Controls the queue depth for a COMSTAR target port # This should ONLY be used if target-mode is enabled # # By default, the max number of simultaneous IOs a target port can handle # is equal to the HBA throttle. The HBA throttle varies by adapter model # but usually represents approximately 2000 simultaneous IOs. With this # parameter, the user can limit the number of simultaneous IOs to a # smaller value. # # Usage examples: # fct-queue-depth=256; Sets global default for a target port queue # depth to 256 IOs. # emlxs0-fct-queue-depth=256; emlxs0 will limit its target queue depth to # 256 IOs #