aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/fnic/fnic_stats.h
diff options
context:
space:
mode:
authorSatish Kharat2019-01-14 17:09:25 -0800
committerMartin K. Petersen2019-01-22 21:18:34 -0500
commit3567dca1bac619d8da4145602495faf9340a4688 (patch)
tree238e34664b761bfdfb93e7b9b47421308594b0e3 /drivers/scsi/fnic/fnic_stats.h
parentd948e6383ec372da488cb553d56e100787a32ace (diff)
scsi: fnic: fnic stats for max CQs processed and ISR time
This change is to add fnic stats for the max number of CQs (corresponding to copy WQ) processed in a given interrupt, max time taken by the ISR. Signed-off-by: Satish Kharat <satishkh@cisco.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fnic/fnic_stats.h')
-rw-r--r--drivers/scsi/fnic/fnic_stats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/fnic/fnic_stats.h b/drivers/scsi/fnic/fnic_stats.h
index 299e925921b1..1b1006a882e9 100644
--- a/drivers/scsi/fnic/fnic_stats.h
+++ b/drivers/scsi/fnic/fnic_stats.h
@@ -97,6 +97,9 @@ struct vlan_stats {
struct misc_stats {
u64 last_isr_time;
u64 last_ack_time;
+ atomic64_t max_isr_jiffies;
+ atomic64_t max_isr_time_ms;
+ atomic64_t corr_work_done;
atomic64_t isr_count;
atomic64_t max_cq_entries;
atomic64_t ack_index_out_of_range;