summaryrefslogtreecommitdiff
path: root/drivers/scsi/fnic/fnic_stats.h
diff options
context:
space:
mode:
authorSatish Kharat <satishkh@cisco.com>2019-01-14 17:09:24 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-22 21:18:34 -0500
commitd948e6383ec372da488cb553d56e100787a32ace (patch)
tree3ba298d21a59658bb98b798c47a02201d2f125bd /drivers/scsi/fnic/fnic_stats.h
parent68f03bd1eec6b064644e4b20dbc4a0f54a27b6b1 (diff)
scsi: fnic: Add port speed stat to fnic debug stats
This patch adds the current fnic port speed stat to fnic debug stats. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/fnic/fnic_stats.h b/drivers/scsi/fnic/fnic_stats.h
index 9daa6ada6fa0..299e925921b1 100644
--- a/drivers/scsi/fnic/fnic_stats.h
+++ b/drivers/scsi/fnic/fnic_stats.h
@@ -113,6 +113,7 @@ struct misc_stats {
atomic64_t queue_fulls;
atomic64_t rport_not_ready;
atomic64_t frame_errors;
+ atomic64_t current_port_speed;
};
struct fnic_stats {