summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2012-05-25 19:26:54 +0200
committerJames Bottomley <JBottomley@Parallels.com>2012-07-20 09:31:48 +0200
commit4e5fae7adbe4f21538b9e62c0fc9b029bbd606cb (patch)
tree99c14af426c0e3f6b38583ac66e7622028d669c6 /include/scsi
parent[SCSI] libfc: adds FCP failures stats (diff)
downloadlinux-4e5fae7adbe4f21538b9e62c0fc9b029bbd606cb.tar.xz
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.h1
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 *));