[SCSI] bfa: Added support to collect and reset fcport stats
authorKrishna Gudipati <kgudipat@brocade.com>
Thu, 21 Jul 2011 00:02:11 +0000 (17:02 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 27 Jul 2011 10:48:52 +0000 (14:48 +0400)
commit37ea0558b87abb151245bc750070a4dcda490aca
tree352d00d22b8f9c91ace2dc8d72dc465deb6ffa7b
parent42a8e6e298f39518445785c53a16357267db37ef
[SCSI] bfa: Added support to collect and reset fcport stats

- Added support to collect and reset fcport stats.
- Modified design to allow multiple requests for fcport stats.
  - fcport will remember the stats request in its stats_pending
    queue and service each of the queued requests after receiving
    a firmware response for the prior request.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa.h
drivers/scsi/bfa/bfa_core.c
drivers/scsi/bfa/bfa_ioc.h
drivers/scsi/bfa/bfa_svc.c
drivers/scsi/bfa/bfa_svc.h
drivers/scsi/bfa/bfad_bsg.c
drivers/scsi/bfa/bfad_bsg.h