aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_attr.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2013-07-15 18:35:04 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-08-23 13:23:51 -0400
commit3cb01c57c981c8483395562c09c82032f0550240 (patch)
tree9de693a40ff5daae9339acbf3839c295487241e4 /drivers/scsi/lpfc/lpfc_attr.c
parent71157c9eb2793054e784b94fd7678147a1a496d6 (diff)
[SCSI] lpfc 8.3.41: Add first burst support to driver
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_attr.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_attr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index 745ba85a8993..cb7b779aafe9 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -3950,6 +3950,14 @@ LPFC_VPORT_ATTR_RW(use_adisc, 0, 0, 1,
3950 "Use ADISC on rediscovery to authenticate FCP devices"); 3950 "Use ADISC on rediscovery to authenticate FCP devices");
3951 3951
3952/* 3952/*
3953# lpfc_first_burst_size: First burst size to use on the NPorts
3954# that support first burst.
3955# Value range is [0,65536]. Default value is 0.
3956*/
3957LPFC_VPORT_ATTR_RW(first_burst_size, 0, 0, 65536,
3958 "First burst size for Targets that support first burst");
3959
3960/*
3953# lpfc_max_scsicmpl_time: Use scsi command completion time to control I/O queue 3961# lpfc_max_scsicmpl_time: Use scsi command completion time to control I/O queue
3954# depth. Default value is 0. When the value of this parameter is zero the 3962# depth. Default value is 0. When the value of this parameter is zero the
3955# SCSI command completion time is not used for controlling I/O queue depth. When 3963# SCSI command completion time is not used for controlling I/O queue depth. When
@@ -4277,6 +4285,7 @@ struct device_attribute *lpfc_hba_attrs[] = {
4277 &dev_attr_lpfc_devloss_tmo, 4285 &dev_attr_lpfc_devloss_tmo,
4278 &dev_attr_lpfc_fcp_class, 4286 &dev_attr_lpfc_fcp_class,
4279 &dev_attr_lpfc_use_adisc, 4287 &dev_attr_lpfc_use_adisc,
4288 &dev_attr_lpfc_first_burst_size,
4280 &dev_attr_lpfc_ack0, 4289 &dev_attr_lpfc_ack0,
4281 &dev_attr_lpfc_topology, 4290 &dev_attr_lpfc_topology,
4282 &dev_attr_lpfc_scan_down, 4291 &dev_attr_lpfc_scan_down,
@@ -4353,6 +4362,7 @@ struct device_attribute *lpfc_vport_attrs[] = {
4353 &dev_attr_lpfc_restrict_login, 4362 &dev_attr_lpfc_restrict_login,
4354 &dev_attr_lpfc_fcp_class, 4363 &dev_attr_lpfc_fcp_class,
4355 &dev_attr_lpfc_use_adisc, 4364 &dev_attr_lpfc_use_adisc,
4365 &dev_attr_lpfc_first_burst_size,
4356 &dev_attr_lpfc_fdmi_on, 4366 &dev_attr_lpfc_fdmi_on,
4357 &dev_attr_lpfc_max_luns, 4367 &dev_attr_lpfc_max_luns,
4358 &dev_attr_nport_evt_cnt, 4368 &dev_attr_nport_evt_cnt,
@@ -5332,6 +5342,7 @@ lpfc_get_vport_cfgparam(struct lpfc_vport *vport)
5332 lpfc_restrict_login_init(vport, lpfc_restrict_login); 5342 lpfc_restrict_login_init(vport, lpfc_restrict_login);
5333 lpfc_fcp_class_init(vport, lpfc_fcp_class); 5343 lpfc_fcp_class_init(vport, lpfc_fcp_class);
5334 lpfc_use_adisc_init(vport, lpfc_use_adisc); 5344 lpfc_use_adisc_init(vport, lpfc_use_adisc);
5345 lpfc_first_burst_size_init(vport, lpfc_first_burst_size);
5335 lpfc_max_scsicmpl_time_init(vport, lpfc_max_scsicmpl_time); 5346 lpfc_max_scsicmpl_time_init(vport, lpfc_max_scsicmpl_time);
5336 lpfc_fdmi_on_init(vport, lpfc_fdmi_on); 5347 lpfc_fdmi_on_init(vport, lpfc_fdmi_on);
5337 lpfc_discovery_threads_init(vport, lpfc_discovery_threads); 5348 lpfc_discovery_threads_init(vport, lpfc_discovery_threads);