diff options
author | Vasu Dev <vasu.dev@intel.com> | 2012-05-25 10:26:54 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 08:31:48 +0100 |
commit | 4e5fae7adbe4f21538b9e62c0fc9b029bbd606cb (patch) | |
tree | 99c14af426c0e3f6b38583ac66e7622028d669c6 /include/scsi | |
parent | 0f02a6652803235a4893c7b01dd6eab862a913ec (diff) | |
download | blackbird-op-linux-4e5fae7adbe4f21538b9e62c0fc9b029bbd606cb.tar.gz blackbird-op-linux-4e5fae7adbe4f21538b9e62c0fc9b029bbd606cb.zip |
[SCSI] libfc: update fcp and exch stats
Updates newly added stats from fc_get_host_stats,
added new function fc_exch_update_stats to
update exches related stats from fc_exch.c
by going thru internal ema_list elements.
Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Acked-by : Robert Love <robert.w.love@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index f257a74e6de4..399162b50a8d 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -1121,6 +1121,7 @@ void fc_fill_hdr(struct fc_frame *, const struct fc_frame *, * EXCHANGE MANAGER LAYER *****************************/ int fc_exch_init(struct fc_lport *); +void fc_exch_update_stats(struct fc_lport *lport); struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *, struct fc_exch_mgr *, bool (*match)(struct fc_frame *)); |