aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc.h
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2010-07-14 15:32:10 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 10:05:41 -0400
commit7dc517df3ace15b5a29b331abe0af86ed4836236 (patch)
tree7f95a4b9833b1549078244c28d4ddcde56d847ed /drivers/scsi/lpfc/lpfc.h
parent3804dc84b8c11038ef75d97fd11e43658f623665 (diff)
[SCSI] lpfc 8.3.15: Add target queue depth throttling
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r--drivers/scsi/lpfc/lpfc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h
index bb40fcbe17c5..3482d5a5aed2 100644
--- a/drivers/scsi/lpfc/lpfc.h
+++ b/drivers/scsi/lpfc/lpfc.h
@@ -48,7 +48,7 @@ struct lpfc_sli2_slim;
48#define LPFC_TGTQ_INTERVAL 40000 /* Min amount of time between tgt 48#define LPFC_TGTQ_INTERVAL 40000 /* Min amount of time between tgt
49 queue depth change in millisecs */ 49 queue depth change in millisecs */
50#define LPFC_TGTQ_RAMPUP_PCENT 5 /* Target queue rampup in percentage */ 50#define LPFC_TGTQ_RAMPUP_PCENT 5 /* Target queue rampup in percentage */
51#define LPFC_MIN_TGT_QDEPTH 100 51#define LPFC_MIN_TGT_QDEPTH 10
52#define LPFC_MAX_TGT_QDEPTH 0xFFFF 52#define LPFC_MAX_TGT_QDEPTH 0xFFFF
53 53
54#define LPFC_MAX_BUCKET_COUNT 20 /* Maximum no. of buckets for stat data 54#define LPFC_MAX_BUCKET_COUNT 20 /* Maximum no. of buckets for stat data
@@ -400,6 +400,7 @@ struct lpfc_vport {
400 uint32_t cfg_max_luns; 400 uint32_t cfg_max_luns;
401 uint32_t cfg_enable_da_id; 401 uint32_t cfg_enable_da_id;
402 uint32_t cfg_max_scsicmpl_time; 402 uint32_t cfg_max_scsicmpl_time;
403 uint32_t cfg_tgt_queue_depth;
403 404
404 uint32_t dev_loss_tmo_changed; 405 uint32_t dev_loss_tmo_changed;
405 406