diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2019-04-11 17:17:10 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-04-24 17:48:10 +0300 |
commit | a9c62e007878ba88b703369c1cd9e26682453665 (patch) | |
tree | d30bba3b4c077b383413d4b4b40634ab60c96e95 /drivers/infiniband/hw/hfi1/chip.h | |
parent | d40f69c9b9dff3e47d9647943db267b5792ae215 (diff) | |
download | linux-a9c62e007878ba88b703369c1cd9e26682453665.tar.xz |
IB/hfi1: Add selected Rcv counters
These counters are required for error analysis and debug.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/chip.h')
-rw-r--r-- | drivers/infiniband/hw/hfi1/chip.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/chip.h b/drivers/infiniband/hw/hfi1/chip.h index 6c27c1c6a868..4e6c3556ec48 100644 --- a/drivers/infiniband/hw/hfi1/chip.h +++ b/drivers/infiniband/hw/hfi1/chip.h @@ -858,6 +858,9 @@ static inline int idx_from_vl(int vl) /* Per device counter indexes */ enum { C_RCV_OVF = 0, + C_RX_LEN_ERR, + C_RX_ICRC_ERR, + C_RX_EBP, C_RX_TID_FULL, C_RX_TID_INVALID, C_RX_TID_FLGMS, |