
Driver for Linux - Configuration Section Page 63
• PCI configuration region 1
• PCI configuration region 2
6. Upon completion, press 0 to return to Main menu.
7. Press 0 to exit the utility.
8. Power down the system.
9. Restart the system to load new configuration data.
The Configuration File (lpfc.conf)
The lpfc.conf file contains all the variables that control driver initialization.
In the lpfc.conf file, all adapter-specific parameters have lpfcX_ prefix (where X is the driver instance
number); e.g., setting lpfc0_lun_queue_depth= 20 makes 20 the default number of maximum commands
which can be sent to a single logical unit (disk). A value of -1 for an adapter specific parameter will
assign the default value for that parameter as denoted by lpfc_param.
Changes to the /etc/lpfc.conf file require a driver rebuild, a new ramdisk image and driver reload for the
changes to take effect.
If you load the driver with the help of /etc/modules.conf, you can also specify changes to driver
parameters in /etc/modules.conf. For example:
options lpfc lpfc_automap=0 lpfc_bind_entries=1 \
lpfc_fcp_bind_WWPN=50060482c33ed60f:
lpfc1t1
would bind device with WWPN 50060482c33ed60f to target 1, with no other device mapped.
Note: Utilities such as HBAnyware expect to find lpfc.conf installed in /etc directory. If
documented install procedures are followed, a link to lpfc.conf file is automatically
created in the /etc directory.
Note: If you want to override a driver parameter for a single driver-loading session, you can
specify it as a parameter to the insmod command. For example: # insmod ./lpfc.o
lpfc_automap=0. This will load Emulex's SCSI support driver with lpfc_automap set to
0 for this session.
Table 2: lpfc.conf Variables
Variable Default Min Max Comments
lpfc_ack0 0 0=Off 1=On Use ACK0 for class 2.
lpfc_automap 1 0=Off 1=On Automatically assign SCSI
IDs to FCP targets
detected.
lpfc_check_cond_err 0 0=Off 1=On Treat certain FCP check
conditions as FCP RSP
errors.
lpfc_cr_count 1 1 255 This parameter determines
the values for I/O
coalescing for cr_delay
(msec) or cr_count
outstanding commands.
Kommentare zu diesen Handbüchern