diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-06-24 23:29:07 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 18:28:17 -0400 |
commit | 61e62e21afe469854e04546ea10b7a6f4cfd1142 (patch) | |
tree | d475caae7c70854788f0950d69a7bae1798794a7 /drivers/scsi/bfa/bfad_drv.h | |
parent | 3350d98d6d072fc4ac3622e61dc3dc351ef01dc5 (diff) |
[SCSI] bfa: Driver and BSG enhancements.
- Added a new module parameter max_xfer_size to
set the max_sectors in the scsi_host template.
- Added logic to handle request_irq() failure so
that msix vector resource is de-allocated immediately
when failure happens.
- BSG enhancements to collect vHBA releated info and port log.
- Removed the workaround of incrementing the module refcnt on bsg request.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfad_drv.h')
-rw-r--r-- | drivers/scsi/bfa/bfad_drv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfad_drv.h b/drivers/scsi/bfa/bfad_drv.h index 6363dd7e15b4..8ec6e1d0064f 100644 --- a/drivers/scsi/bfa/bfad_drv.h +++ b/drivers/scsi/bfa/bfad_drv.h | |||
@@ -80,7 +80,7 @@ | |||
80 | #define BFAD_HAL_INIT_FAIL 0x00000100 | 80 | #define BFAD_HAL_INIT_FAIL 0x00000100 |
81 | #define BFAD_FC4_PROBE_DONE 0x00000200 | 81 | #define BFAD_FC4_PROBE_DONE 0x00000200 |
82 | #define BFAD_PORT_DELETE 0x00000001 | 82 | #define BFAD_PORT_DELETE 0x00000001 |
83 | 83 | #define BFAD_INTX_ON 0x00000400 | |
84 | /* | 84 | /* |
85 | * BFAD related definition | 85 | * BFAD related definition |
86 | */ | 86 | */ |
@@ -93,6 +93,8 @@ | |||
93 | */ | 93 | */ |
94 | #define BFAD_LUN_QUEUE_DEPTH 32 | 94 | #define BFAD_LUN_QUEUE_DEPTH 32 |
95 | #define BFAD_IO_MAX_SGE SG_ALL | 95 | #define BFAD_IO_MAX_SGE SG_ALL |
96 | #define BFAD_MIN_SECTORS 128 /* 64k */ | ||
97 | #define BFAD_MAX_SECTORS 0xFFFF /* 32 MB */ | ||
96 | 98 | ||
97 | #define bfad_isr_t irq_handler_t | 99 | #define bfad_isr_t irq_handler_t |
98 | 100 | ||
@@ -343,6 +345,7 @@ extern int msix_disable_ct; | |||
343 | extern int fdmi_enable; | 345 | extern int fdmi_enable; |
344 | extern int supported_fc4s; | 346 | extern int supported_fc4s; |
345 | extern int pcie_max_read_reqsz; | 347 | extern int pcie_max_read_reqsz; |
348 | extern int max_xfer_size; | ||
346 | extern int bfa_debugfs_enable; | 349 | extern int bfa_debugfs_enable; |
347 | extern struct mutex bfad_mutex; | 350 | extern struct mutex bfad_mutex; |
348 | 351 | ||