diff options
author | Lalit Chandivade <lalit.chandivade@qlogic.com> | 2013-11-22 11:28:18 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-20 05:56:25 +0100 |
commit | 6fa7c554386d391d1d0f46bc298e57d2eda76e78 (patch) | |
tree | 01d32a0e0c5bc5660bc0a48079f42b9c3aec02e1 /include/scsi/scsi_transport_iscsi.h | |
parent | [SCSI] qla4xxx: Added support for Diagnostics MBOX command (diff) | |
download | linux-6fa7c554386d391d1d0f46bc298e57d2eda76e78.tar.xz linux-6fa7c554386d391d1d0f46bc298e57d2eda76e78.zip |
[SCSI] scsi_transport_iscsi: Add host statistics support
Add transport_iscsi hooks to get aggregate host statistics.
The statistics include MAC, TCP/IP & iSCSI statistics.
Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
-rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 2ac11feab6f3..88640a47216c 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h @@ -166,6 +166,7 @@ struct iscsi_transport { int (*logout_flashnode) (struct iscsi_bus_flash_session *fnode_sess, struct iscsi_bus_flash_conn *fnode_conn); int (*logout_flashnode_sid) (struct iscsi_cls_session *cls_sess); + int (*get_host_stats) (struct Scsi_Host *shost, char *buf, int len); }; /* |