diff options
author | Sarang Radke <sarang.radke@qlogic.com> | 2010-03-19 20:03:59 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-04-11 10:45:50 -0400 |
commit | 09ff701a177b116c6c15b6e501e58fbfb306b424 (patch) | |
tree | fd99933ea29dbc36fc6636f5278d237dbee89b96 /drivers/scsi/qla2xxx/qla_def.h | |
parent | 6e98016ca077c5c751167bfdb1a3a2a3bee581cf (diff) |
[SCSI] qla2xxx: Add APEX support.
Allows priority setting for FCP_CMNDs.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 608397bf7e0a..c51bd4e5fb44 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -1580,6 +1580,8 @@ typedef struct fc_port { | |||
1580 | uint16_t loop_id; | 1580 | uint16_t loop_id; |
1581 | uint16_t old_loop_id; | 1581 | uint16_t old_loop_id; |
1582 | 1582 | ||
1583 | uint8_t fcp_prio; | ||
1584 | |||
1583 | uint8_t fabric_port_name[WWN_SIZE]; | 1585 | uint8_t fabric_port_name[WWN_SIZE]; |
1584 | uint16_t fp_speed; | 1586 | uint16_t fp_speed; |
1585 | 1587 | ||
@@ -2296,6 +2298,7 @@ struct qla_hw_data { | |||
2296 | uint32_t eeh_busy :1; | 2298 | uint32_t eeh_busy :1; |
2297 | uint32_t cpu_affinity_enabled :1; | 2299 | uint32_t cpu_affinity_enabled :1; |
2298 | uint32_t disable_msix_handshake :1; | 2300 | uint32_t disable_msix_handshake :1; |
2301 | uint32_t fcp_prio_enabled :1; | ||
2299 | } flags; | 2302 | } flags; |
2300 | 2303 | ||
2301 | /* This spinlock is used to protect "io transactions", you must | 2304 | /* This spinlock is used to protect "io transactions", you must |
@@ -2599,6 +2602,7 @@ struct qla_hw_data { | |||
2599 | uint32_t flt_region_nvram; | 2602 | uint32_t flt_region_nvram; |
2600 | uint32_t flt_region_npiv_conf; | 2603 | uint32_t flt_region_npiv_conf; |
2601 | uint32_t flt_region_gold_fw; | 2604 | uint32_t flt_region_gold_fw; |
2605 | uint32_t flt_region_fcp_prio; | ||
2602 | 2606 | ||
2603 | /* Needed for BEACON */ | 2607 | /* Needed for BEACON */ |
2604 | uint16_t beacon_blink_led; | 2608 | uint16_t beacon_blink_led; |
@@ -2627,6 +2631,9 @@ struct qla_hw_data { | |||
2627 | struct isp_operations *isp_ops; | 2631 | struct isp_operations *isp_ops; |
2628 | struct workqueue_struct *wq; | 2632 | struct workqueue_struct *wq; |
2629 | struct qlfc_fw fw_buf; | 2633 | struct qlfc_fw fw_buf; |
2634 | |||
2635 | /* FCP_CMND priority support */ | ||
2636 | struct qla_fcp_prio_cfg *fcp_prio_cfg; | ||
2630 | }; | 2637 | }; |
2631 | 2638 | ||
2632 | /* | 2639 | /* |