diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2012-05-15 14:34:16 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-22 06:30:22 -0400 |
commit | 2be21fa23169dcfdf2d599ed78df7adcd88fc99a (patch) | |
tree | 9846f5790e822d310b4a1746e95077e015ee88f2 /drivers/scsi/qla2xxx/qla_def.h | |
parent | 5f28d2d7c62ac154895882fece5841c87454fb79 (diff) |
[SCSI] qla2xxx: Stats should be different from physical and virtual ports
Currently stats is part of ha data structure, common for physical and virtual
ports. Moved the stats to vha, each port will have its own stat.
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index a2443031dbe7..7f7ebec2172f 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -2804,7 +2804,6 @@ struct qla_hw_data { | |||
2804 | /* ISP2322: red, green, amber. */ | 2804 | /* ISP2322: red, green, amber. */ |
2805 | uint16_t zio_mode; | 2805 | uint16_t zio_mode; |
2806 | uint16_t zio_timer; | 2806 | uint16_t zio_timer; |
2807 | struct fc_host_statistics fc_host_stat; | ||
2808 | 2807 | ||
2809 | struct qla_msix_entry *msix_entries; | 2808 | struct qla_msix_entry *msix_entries; |
2810 | 2809 | ||
@@ -2817,7 +2816,6 @@ struct qla_hw_data { | |||
2817 | int cur_vport_count; | 2816 | int cur_vport_count; |
2818 | 2817 | ||
2819 | struct qla_chip_state_84xx *cs84xx; | 2818 | struct qla_chip_state_84xx *cs84xx; |
2820 | struct qla_statistics qla_stats; | ||
2821 | struct isp_operations *isp_ops; | 2819 | struct isp_operations *isp_ops; |
2822 | struct workqueue_struct *wq; | 2820 | struct workqueue_struct *wq; |
2823 | struct qlfc_fw fw_buf; | 2821 | struct qlfc_fw fw_buf; |
@@ -2979,6 +2977,8 @@ typedef struct scsi_qla_host { | |||
2979 | struct req_que *req; | 2977 | struct req_que *req; |
2980 | int fw_heartbeat_counter; | 2978 | int fw_heartbeat_counter; |
2981 | int seconds_since_last_heartbeat; | 2979 | int seconds_since_last_heartbeat; |
2980 | struct fc_host_statistics fc_host_stat; | ||
2981 | struct qla_statistics qla_stats; | ||
2982 | 2982 | ||
2983 | atomic_t vref_count; | 2983 | atomic_t vref_count; |
2984 | } scsi_qla_host_t; | 2984 | } scsi_qla_host_t; |