[SCSI] qla2xxx: Add input/output byte-count statistics.
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>
Fri, 12 Sep 2008 04:22:47 +0000 (21:22 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Oct 2008 16:46:16 +0000 (11:46 -0500)
commit49fd462a1ba4a1b9bfbfe01d279d506017d85492
treed54078974b8a464196867a1ca1b89f7a1ce8364d
parentac26d41dee65167109e7cdcd0289b44ca61cd741
[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>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_iocb.c