diff options
author | Selvin Xavier <selvin.xavier@emulex.com> | 2014-12-18 11:42:59 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2015-02-18 19:31:02 +0300 |
commit | ad56ebb414a46f7afe84f73f28a39c7971cc8283 (patch) | |
tree | 7832a95d2b9507a87d1621ad6d3237e1fba3f3fa /drivers/infiniband/hw/ocrdma/ocrdma_stats.h | |
parent | 0c0eacdc9d96b62302efaece8b313cf4f4976aaa (diff) | |
download | linux-ad56ebb414a46f7afe84f73f28a39c7971cc8283.tar.xz |
RDMA/ocrdma: Debugfs enhancments for ocrdma driver
1. Add statistics counters for error cqes.
2. Add file ("reset_stats") to reset rdma stats in Debugfs.
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.com>
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_stats.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_stats.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_stats.h b/drivers/infiniband/hw/ocrdma/ocrdma_stats.h index 89afe06eca32..091edd68a8a3 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_stats.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma_stats.h @@ -43,7 +43,9 @@ enum OCRDMA_STATS_TYPE { OCRDMA_RXQP_ERRSTATS, OCRDMA_TXQP_ERRSTATS, OCRDMA_TX_DBG_STATS, - OCRDMA_RX_DBG_STATS + OCRDMA_RX_DBG_STATS, + OCRDMA_DRV_STATS, + OCRDMA_RESET_STATS }; void ocrdma_rem_debugfs(void); |