[SCSI] fnic: Fnic Statistics Collection
This feature gathers active and cumulative per fnic stats for io, abort, terminate, reset, vlan discovery path and it also includes various important stats for debugging issues. It also provided debugfs and ioctl interface for user to retrieve these stats. It also provides functionality to reset cumulative stats through user interface. Signed-off-by: Hiral Patel <hiralpat@cisco.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
James Bottomley

vecāks
441fbd2595
revīzija
67125b0287
@@ -27,6 +27,7 @@
|
||||
#include "fnic_io.h"
|
||||
#include "fnic_res.h"
|
||||
#include "fnic_trace.h"
|
||||
#include "fnic_stats.h"
|
||||
#include "vnic_dev.h"
|
||||
#include "vnic_wq.h"
|
||||
#include "vnic_rq.h"
|
||||
@@ -232,6 +233,13 @@ struct fnic {
|
||||
unsigned int wq_count;
|
||||
unsigned int cq_count;
|
||||
|
||||
struct dentry *fnic_stats_debugfs_host;
|
||||
struct dentry *fnic_stats_debugfs_file;
|
||||
struct dentry *fnic_reset_debugfs_file;
|
||||
unsigned int reset_stats;
|
||||
atomic64_t io_cmpl_skip;
|
||||
struct fnic_stats fnic_stats;
|
||||
|
||||
u32 vlan_hw_insert:1; /* let hw insert the tag */
|
||||
u32 in_remove:1; /* fnic device in removal */
|
||||
u32 stop_rx_link_events:1; /* stop proc. rx frames, link events */
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user