Download Emulex Drivers for Linux User Manual

Transcript
Table 2: LPFC Static Parameters (Requires a driver reload to change) (Continued)
Visible
using
sysfs
Variable
Default
Min.
Max.
Comments
lpfc_enable_npiv
0
0
1
This parameter controls the FC and
FCoE driver’s ability to use NPIV to
create virtual ports. It defaults to off
(0) which prevents the FC and FCoE
driver from creating any virtual ports.
When enabled (set to 1) it enables
you to create and delete virtual ports
(if supported by the fabric).
Yes
lpfc_fcp_class
3
2
3
The FC class for FCP data
transmission.
Yes
pfc_fcp_eq_count
4
1
8
Sets the number of fast-path FCP
event queues, if available. Only
applicable for OneConnect UCNAs.
Yes
lpfc_fcp_imax
10000
636
651042
Sets the maximum number of fastpath FCP interrupts per second. Only
applicable for OneConnect UCNAs.
Yes
lpfc_fcp_wq_count
4
1
32
Sets the number of fast-path FCP
work queues, if available.Only
applicable for OneConnect UCNAs.
Yes
lpfc_hba_queue_depth
8192
32
8192
The maximum number of FCP
commands that can queue to an
Emulex adapter.
Yes
lpfc_lun_queue_depth
30
1
128
The default maximum commands sent
to a single logical unit (disk).
Yes
lpfc_restrict_login
1
0=Off
1=On
Restricts virtual ports login to remote
initiators.
No
lpfc_scan_down
1
0=Off
1=On
Selects method for scanning ALPA to
assign a SCSI ID.
Yes
lpfc_sg_seg_cnt
64
(50 for
SLI-4
CNA)
64
(50 for
SLI-4
CNA)
4096
Controls the max scatter gather
segment count passed to the FC and
FCoE driver.
Yes
(sg_table
0
0 = auto (default)
2 = SLI 2 mode
3 = SLI 3 mode
lpfc_sli_mode
Emulex Drivers for Linux User Manual: Configuration
size)
Note: This variable is per SCSI
command. On OneConnect
UCNAs, these values are
restricted by the FC and FCoE
driver to specific values due to
restrictions imposed by the
hardware. The possible values
are 50, 114, 242, and 498.
This parameter allows you to force the
SLI mode requested by the adapter
driver. This parameter has no effect
on OneConnect UCNAs.
No
Page 15