aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@emulex.com>2014-12-18 03:42:59 -0500
committerRoland Dreier <roland@purestorage.com>2015-02-18 11:31:02 -0500
commitad56ebb414a46f7afe84f73f28a39c7971cc8283 (patch)
tree7832a95d2b9507a87d1621ad6d3237e1fba3f3fa /drivers/infiniband/hw/ocrdma/ocrdma_sli.h
parent0c0eacdc9d96b62302efaece8b313cf4f4976aaa (diff)
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_sli.h')
-rw-r--r--drivers/infiniband/hw/ocrdma/ocrdma_sli.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
index e252f1b14f53..6ba9939868a3 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
@@ -443,7 +443,9 @@ enum OCRDMA_ASYNC_EVENT_TYPE {
443 OCRDMA_DEVICE_FATAL_EVENT = 0x08, 443 OCRDMA_DEVICE_FATAL_EVENT = 0x08,
444 OCRDMA_SRQCAT_ERROR = 0x0E, 444 OCRDMA_SRQCAT_ERROR = 0x0E,
445 OCRDMA_SRQ_LIMIT_EVENT = 0x0F, 445 OCRDMA_SRQ_LIMIT_EVENT = 0x0F,
446 OCRDMA_QP_LAST_WQE_EVENT = 0x10 446 OCRDMA_QP_LAST_WQE_EVENT = 0x10,
447
448 OCRDMA_MAX_ASYNC_ERRORS
447}; 449};
448 450
449/* mailbox command request and responses */ 451/* mailbox command request and responses */
@@ -1630,7 +1632,9 @@ enum OCRDMA_CQE_STATUS {
1630 OCRDMA_CQE_INV_EEC_STATE_ERR, 1632 OCRDMA_CQE_INV_EEC_STATE_ERR,
1631 OCRDMA_CQE_FATAL_ERR, 1633 OCRDMA_CQE_FATAL_ERR,
1632 OCRDMA_CQE_RESP_TIMEOUT_ERR, 1634 OCRDMA_CQE_RESP_TIMEOUT_ERR,
1633 OCRDMA_CQE_GENERAL_ERR 1635 OCRDMA_CQE_GENERAL_ERR,
1636
1637 OCRDMA_MAX_CQE_ERR
1634}; 1638};
1635 1639
1636enum { 1640enum {