aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re/roce_hsi.h
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@broadcom.com>2018-10-08 03:28:00 -0700
committerJason Gunthorpe <jgg@mellanox.com>2018-10-16 00:03:50 -0600
commit316dd2825db1396304fb3003fad6cf1fef1883a0 (patch)
treec1b27c60269d1895b388538d77c51df7bfa1c9b9 /drivers/infiniband/hw/bnxt_re/roce_hsi.h
parentRDMA/bnxt_re: Expose rx discards and drop counters (diff)
downloadlinux-dev-316dd2825db1396304fb3003fad6cf1fef1883a0.tar.xz
linux-dev-316dd2825db1396304fb3003fad6cf1fef1883a0.zip
RDMA/bnxt_re: Report out of sequence hw counters
Expose out of sequence errors received from FW. This counter is a 32 bit counter and driver has to accumulate the counter. Stores the previous value for calculating the difference in the next query. Also, update the HW statistics structure with new fields. Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/bnxt_re/roce_hsi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/bnxt_re/roce_hsi.h b/drivers/infiniband/hw/bnxt_re/roce_hsi.h
index 3e5a4f760d0e..8a9ead419ac2 100644
--- a/drivers/infiniband/hw/bnxt_re/roce_hsi.h
+++ b/drivers/infiniband/hw/bnxt_re/roce_hsi.h
@@ -2929,6 +2929,11 @@ struct creq_query_roce_stats_resp_sb {
__le64 res_srq_load_err;
__le64 res_tx_pci_err;
__le64 res_rx_pci_err;
+ __le64 res_oos_drop_count;
+ __le64 active_qp_count_p0;
+ __le64 active_qp_count_p1;
+ __le64 active_qp_count_p2;
+ __le64 active_qp_count_p3;
};
/* QP error notification event (16 bytes) */