diff options
author | Vasu Dev <vasu.dev@intel.com> | 2012-05-25 13:26:54 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 03:31:48 -0400 |
commit | 4e5fae7adbe4f21538b9e62c0fc9b029bbd606cb (patch) | |
tree | 99c14af426c0e3f6b38583ac66e7622028d669c6 /include | |
parent | 0f02a6652803235a4893c7b01dd6eab862a913ec (diff) |
[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')
-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 *, | |||
1121 | * EXCHANGE MANAGER LAYER | 1121 | * EXCHANGE MANAGER LAYER |
1122 | *****************************/ | 1122 | *****************************/ |
1123 | int fc_exch_init(struct fc_lport *); | 1123 | int fc_exch_init(struct fc_lport *); |
1124 | void fc_exch_update_stats(struct fc_lport *lport); | ||
1124 | struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *, | 1125 | struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *, |
1125 | struct fc_exch_mgr *, | 1126 | struct fc_exch_mgr *, |
1126 | bool (*match)(struct fc_frame *)); | 1127 | bool (*match)(struct fc_frame *)); |