aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>2008-09-12 00:22:47 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-10-03 12:46:16 -0400
commit49fd462a1ba4a1b9bfbfe01d279d506017d85492 (patch)
treed54078974b8a464196867a1ca1b89f7a1ce8364d /drivers/scsi/qla2xxx/qla_def.h
parentac26d41dee65167109e7cdcd0289b44ca61cd741 (diff)
[SCSI] qla2xxx: Add input/output byte-count statistics.
Currently Firmware does not have counters for input megabytes and output megabytes, therefore driver counts these values depending on the status of the scsi command and direction of the command. The values are exported in the FC_HOST path. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 431c19e83001..d1160d229d10 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2156,6 +2156,8 @@ struct qla_chip_state_84xx {
2156 2156
2157struct qla_statistics { 2157struct qla_statistics {
2158 uint32_t total_isp_aborts; 2158 uint32_t total_isp_aborts;
2159 uint64_t input_bytes;
2160 uint64_t output_bytes;
2159}; 2161};
2160 2162
2161/* 2163/*