Lines Matching refs:stats
108 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_resource_stats() local
113 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_resource_stats()
115 pcur = stats; in ocrdma_resource_stats()
116 pcur += ocrdma_add_stat(stats, pcur, "active_dpp_pds", in ocrdma_resource_stats()
118 pcur += ocrdma_add_stat(stats, pcur, "active_non_dpp_pds", in ocrdma_resource_stats()
120 pcur += ocrdma_add_stat(stats, pcur, "active_rc_dpp_qps", in ocrdma_resource_stats()
122 pcur += ocrdma_add_stat(stats, pcur, "active_uc_dpp_qps", in ocrdma_resource_stats()
124 pcur += ocrdma_add_stat(stats, pcur, "active_ud_dpp_qps", in ocrdma_resource_stats()
126 pcur += ocrdma_add_stat(stats, pcur, "active_rc_non_dpp_qps", in ocrdma_resource_stats()
128 pcur += ocrdma_add_stat(stats, pcur, "active_uc_non_dpp_qps", in ocrdma_resource_stats()
130 pcur += ocrdma_add_stat(stats, pcur, "active_ud_non_dpp_qps", in ocrdma_resource_stats()
132 pcur += ocrdma_add_stat(stats, pcur, "active_srqs", in ocrdma_resource_stats()
134 pcur += ocrdma_add_stat(stats, pcur, "active_rbqs", in ocrdma_resource_stats()
136 pcur += ocrdma_add_stat(stats, pcur, "active_64K_nsmr", in ocrdma_resource_stats()
138 pcur += ocrdma_add_stat(stats, pcur, "active_64K_to_2M_nsmr", in ocrdma_resource_stats()
140 pcur += ocrdma_add_stat(stats, pcur, "active_2M_to_44M_nsmr", in ocrdma_resource_stats()
142 pcur += ocrdma_add_stat(stats, pcur, "active_44M_to_1G_nsmr", in ocrdma_resource_stats()
144 pcur += ocrdma_add_stat(stats, pcur, "active_1G_to_4G_nsmr", in ocrdma_resource_stats()
146 pcur += ocrdma_add_stat(stats, pcur, "active_nsmr_count_4G_to_32G", in ocrdma_resource_stats()
148 pcur += ocrdma_add_stat(stats, pcur, "active_32G_to_64G_nsmr", in ocrdma_resource_stats()
150 pcur += ocrdma_add_stat(stats, pcur, "active_64G_to_128G_nsmr", in ocrdma_resource_stats()
152 pcur += ocrdma_add_stat(stats, pcur, "active_128G_to_higher_nsmr", in ocrdma_resource_stats()
154 pcur += ocrdma_add_stat(stats, pcur, "active_embedded_nsmr", in ocrdma_resource_stats()
156 pcur += ocrdma_add_stat(stats, pcur, "active_frmr", in ocrdma_resource_stats()
158 pcur += ocrdma_add_stat(stats, pcur, "active_prefetch_qps", in ocrdma_resource_stats()
160 pcur += ocrdma_add_stat(stats, pcur, "active_ondemand_qps", in ocrdma_resource_stats()
162 pcur += ocrdma_add_stat(stats, pcur, "active_phy_mr", in ocrdma_resource_stats()
164 pcur += ocrdma_add_stat(stats, pcur, "active_mw", in ocrdma_resource_stats()
170 pcur += ocrdma_add_stat(stats, pcur, "threshold_dpp_pds", in ocrdma_resource_stats()
172 pcur += ocrdma_add_stat(stats, pcur, "threshold_non_dpp_pds", in ocrdma_resource_stats()
174 pcur += ocrdma_add_stat(stats, pcur, "threshold_rc_dpp_qps", in ocrdma_resource_stats()
176 pcur += ocrdma_add_stat(stats, pcur, "threshold_uc_dpp_qps", in ocrdma_resource_stats()
178 pcur += ocrdma_add_stat(stats, pcur, "threshold_ud_dpp_qps", in ocrdma_resource_stats()
180 pcur += ocrdma_add_stat(stats, pcur, "threshold_rc_non_dpp_qps", in ocrdma_resource_stats()
182 pcur += ocrdma_add_stat(stats, pcur, "threshold_uc_non_dpp_qps", in ocrdma_resource_stats()
184 pcur += ocrdma_add_stat(stats, pcur, "threshold_ud_non_dpp_qps", in ocrdma_resource_stats()
186 pcur += ocrdma_add_stat(stats, pcur, "threshold_srqs", in ocrdma_resource_stats()
188 pcur += ocrdma_add_stat(stats, pcur, "threshold_rbqs", in ocrdma_resource_stats()
190 pcur += ocrdma_add_stat(stats, pcur, "threshold_64K_nsmr", in ocrdma_resource_stats()
192 pcur += ocrdma_add_stat(stats, pcur, "threshold_64K_to_2M_nsmr", in ocrdma_resource_stats()
194 pcur += ocrdma_add_stat(stats, pcur, "threshold_2M_to_44M_nsmr", in ocrdma_resource_stats()
196 pcur += ocrdma_add_stat(stats, pcur, "threshold_44M_to_1G_nsmr", in ocrdma_resource_stats()
198 pcur += ocrdma_add_stat(stats, pcur, "threshold_1G_to_4G_nsmr", in ocrdma_resource_stats()
200 pcur += ocrdma_add_stat(stats, pcur, "threshold_nsmr_count_4G_to_32G", in ocrdma_resource_stats()
202 pcur += ocrdma_add_stat(stats, pcur, "threshold_32G_to_64G_nsmr", in ocrdma_resource_stats()
204 pcur += ocrdma_add_stat(stats, pcur, "threshold_64G_to_128G_nsmr", in ocrdma_resource_stats()
206 pcur += ocrdma_add_stat(stats, pcur, "threshold_128G_to_higher_nsmr", in ocrdma_resource_stats()
208 pcur += ocrdma_add_stat(stats, pcur, "threshold_embedded_nsmr", in ocrdma_resource_stats()
210 pcur += ocrdma_add_stat(stats, pcur, "threshold_frmr", in ocrdma_resource_stats()
212 pcur += ocrdma_add_stat(stats, pcur, "threshold_prefetch_qps", in ocrdma_resource_stats()
214 pcur += ocrdma_add_stat(stats, pcur, "threshold_ondemand_qps", in ocrdma_resource_stats()
216 pcur += ocrdma_add_stat(stats, pcur, "threshold_phy_mr", in ocrdma_resource_stats()
218 pcur += ocrdma_add_stat(stats, pcur, "threshold_mw", in ocrdma_resource_stats()
220 return stats; in ocrdma_resource_stats()
225 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_rx_stats() local
230 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_rx_stats()
232 pcur = stats; in ocrdma_rx_stats()
234 (stats, pcur, "roce_frame_bytes", in ocrdma_rx_stats()
237 pcur += ocrdma_add_stat(stats, pcur, "roce_frame_icrc_drops", in ocrdma_rx_stats()
239 pcur += ocrdma_add_stat(stats, pcur, "roce_frame_payload_len_drops", in ocrdma_rx_stats()
241 pcur += ocrdma_add_stat(stats, pcur, "ud_drops", in ocrdma_rx_stats()
243 pcur += ocrdma_add_stat(stats, pcur, "qp1_drops", in ocrdma_rx_stats()
245 pcur += ocrdma_add_stat(stats, pcur, "psn_error_request_packets", in ocrdma_rx_stats()
247 pcur += ocrdma_add_stat(stats, pcur, "psn_error_resp_packets", in ocrdma_rx_stats()
249 pcur += ocrdma_add_stat(stats, pcur, "rnr_nak_timeouts", in ocrdma_rx_stats()
251 pcur += ocrdma_add_stat(stats, pcur, "rnr_nak_receives", in ocrdma_rx_stats()
253 pcur += ocrdma_add_stat(stats, pcur, "roce_frame_rxmt_drops", in ocrdma_rx_stats()
255 pcur += ocrdma_add_stat(stats, pcur, "nak_count_psn_sequence_errors", in ocrdma_rx_stats()
257 pcur += ocrdma_add_stat(stats, pcur, "rc_drop_count_lookup_errors", in ocrdma_rx_stats()
259 pcur += ocrdma_add_stat(stats, pcur, "rq_rnr_naks", in ocrdma_rx_stats()
261 pcur += ocrdma_add_stat(stats, pcur, "srq_rnr_naks", in ocrdma_rx_stats()
263 pcur += ocrdma_add_stat(stats, pcur, "roce_frames", in ocrdma_rx_stats()
267 return stats; in ocrdma_rx_stats()
293 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_tx_stats() local
298 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_tx_stats()
300 pcur = stats; in ocrdma_tx_stats()
301 pcur += ocrdma_add_stat(stats, pcur, "send_pkts", in ocrdma_tx_stats()
304 pcur += ocrdma_add_stat(stats, pcur, "write_pkts", in ocrdma_tx_stats()
307 pcur += ocrdma_add_stat(stats, pcur, "read_pkts", in ocrdma_tx_stats()
310 pcur += ocrdma_add_stat(stats, pcur, "read_rsp_pkts", in ocrdma_tx_stats()
313 pcur += ocrdma_add_stat(stats, pcur, "ack_pkts", in ocrdma_tx_stats()
316 pcur += ocrdma_add_stat(stats, pcur, "send_bytes", in ocrdma_tx_stats()
319 pcur += ocrdma_add_stat(stats, pcur, "write_bytes", in ocrdma_tx_stats()
322 pcur += ocrdma_add_stat(stats, pcur, "read_req_bytes", in ocrdma_tx_stats()
325 pcur += ocrdma_add_stat(stats, pcur, "read_rsp_bytes", in ocrdma_tx_stats()
328 pcur += ocrdma_add_stat(stats, pcur, "ack_timeouts", in ocrdma_tx_stats()
331 return stats; in ocrdma_tx_stats()
367 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_wqe_stats() local
372 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_wqe_stats()
374 pcur = stats; in ocrdma_wqe_stats()
375 pcur += ocrdma_add_stat(stats, pcur, "large_send_rc_wqes", in ocrdma_wqe_stats()
378 pcur += ocrdma_add_stat(stats, pcur, "large_write_rc_wqes", in ocrdma_wqe_stats()
381 pcur += ocrdma_add_stat(stats, pcur, "read_wqes", in ocrdma_wqe_stats()
384 pcur += ocrdma_add_stat(stats, pcur, "frmr_wqes", in ocrdma_wqe_stats()
387 pcur += ocrdma_add_stat(stats, pcur, "mw_bind_wqes", in ocrdma_wqe_stats()
390 pcur += ocrdma_add_stat(stats, pcur, "invalidate_wqes", in ocrdma_wqe_stats()
393 pcur += ocrdma_add_stat(stats, pcur, "dpp_wqe_drops", in ocrdma_wqe_stats()
395 return stats; in ocrdma_wqe_stats()
400 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_db_errstats() local
405 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_db_errstats()
407 pcur = stats; in ocrdma_db_errstats()
408 pcur += ocrdma_add_stat(stats, pcur, "sq_doorbell_errors", in ocrdma_db_errstats()
410 pcur += ocrdma_add_stat(stats, pcur, "cq_doorbell_errors", in ocrdma_db_errstats()
412 pcur += ocrdma_add_stat(stats, pcur, "rq_srq_doorbell_errors", in ocrdma_db_errstats()
414 pcur += ocrdma_add_stat(stats, pcur, "cq_overflow_errors", in ocrdma_db_errstats()
416 return stats; in ocrdma_db_errstats()
421 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_rxqp_errstats() local
427 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_rxqp_errstats()
429 pcur = stats; in ocrdma_rxqp_errstats()
430 pcur += ocrdma_add_stat(stats, pcur, "nak_invalid_requst_errors", in ocrdma_rxqp_errstats()
432 pcur += ocrdma_add_stat(stats, pcur, "nak_remote_operation_errors", in ocrdma_rxqp_errstats()
434 pcur += ocrdma_add_stat(stats, pcur, "nak_count_remote_access_errors", in ocrdma_rxqp_errstats()
436 pcur += ocrdma_add_stat(stats, pcur, "local_length_errors", in ocrdma_rxqp_errstats()
438 pcur += ocrdma_add_stat(stats, pcur, "local_protection_errors", in ocrdma_rxqp_errstats()
440 pcur += ocrdma_add_stat(stats, pcur, "local_qp_operation_errors", in ocrdma_rxqp_errstats()
442 return stats; in ocrdma_rxqp_errstats()
447 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_txqp_errstats() local
453 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_txqp_errstats()
455 pcur = stats; in ocrdma_txqp_errstats()
456 pcur += ocrdma_add_stat(stats, pcur, "local_length_errors", in ocrdma_txqp_errstats()
458 pcur += ocrdma_add_stat(stats, pcur, "local_protection_errors", in ocrdma_txqp_errstats()
460 pcur += ocrdma_add_stat(stats, pcur, "local_qp_operation_errors", in ocrdma_txqp_errstats()
462 pcur += ocrdma_add_stat(stats, pcur, "retry_count_exceeded_errors", in ocrdma_txqp_errstats()
464 pcur += ocrdma_add_stat(stats, pcur, "rnr_retry_count_exceeded_errors", in ocrdma_txqp_errstats()
466 return stats; in ocrdma_txqp_errstats()
507 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_driver_dbg_stats() local
510 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_driver_dbg_stats()
512 pcur = stats; in ocrdma_driver_dbg_stats()
513 pcur += ocrdma_add_stat(stats, pcur, "async_cq_err", in ocrdma_driver_dbg_stats()
516 pcur += ocrdma_add_stat(stats, pcur, "async_cq_overrun_err", in ocrdma_driver_dbg_stats()
519 pcur += ocrdma_add_stat(stats, pcur, "async_cq_qpcat_err", in ocrdma_driver_dbg_stats()
522 pcur += ocrdma_add_stat(stats, pcur, "async_qp_access_err", in ocrdma_driver_dbg_stats()
525 pcur += ocrdma_add_stat(stats, pcur, "async_qp_commm_est_evt", in ocrdma_driver_dbg_stats()
528 pcur += ocrdma_add_stat(stats, pcur, "async_sq_drained_evt", in ocrdma_driver_dbg_stats()
531 pcur += ocrdma_add_stat(stats, pcur, "async_dev_fatal_evt", in ocrdma_driver_dbg_stats()
534 pcur += ocrdma_add_stat(stats, pcur, "async_srqcat_err", in ocrdma_driver_dbg_stats()
537 pcur += ocrdma_add_stat(stats, pcur, "async_srq_limit_evt", in ocrdma_driver_dbg_stats()
540 pcur += ocrdma_add_stat(stats, pcur, "async_qp_last_wqe_evt", in ocrdma_driver_dbg_stats()
544 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_len_err", in ocrdma_driver_dbg_stats()
547 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_qp_op_err", in ocrdma_driver_dbg_stats()
550 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_eec_op_err", in ocrdma_driver_dbg_stats()
553 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_prot_err", in ocrdma_driver_dbg_stats()
556 pcur += ocrdma_add_stat(stats, pcur, "cqe_wr_flush_err", in ocrdma_driver_dbg_stats()
559 pcur += ocrdma_add_stat(stats, pcur, "cqe_mw_bind_err", in ocrdma_driver_dbg_stats()
562 pcur += ocrdma_add_stat(stats, pcur, "cqe_bad_resp_err", in ocrdma_driver_dbg_stats()
565 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_access_err", in ocrdma_driver_dbg_stats()
568 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_inv_req_err", in ocrdma_driver_dbg_stats()
571 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_access_err", in ocrdma_driver_dbg_stats()
574 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_op_err", in ocrdma_driver_dbg_stats()
577 pcur += ocrdma_add_stat(stats, pcur, "cqe_retry_exc_err", in ocrdma_driver_dbg_stats()
580 pcur += ocrdma_add_stat(stats, pcur, "cqe_rnr_retry_exc_err", in ocrdma_driver_dbg_stats()
583 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_rdd_viol_err", in ocrdma_driver_dbg_stats()
586 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_inv_rd_req_err", in ocrdma_driver_dbg_stats()
589 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_abort_err", in ocrdma_driver_dbg_stats()
592 pcur += ocrdma_add_stat(stats, pcur, "cqe_inv_eecn_err", in ocrdma_driver_dbg_stats()
595 pcur += ocrdma_add_stat(stats, pcur, "cqe_inv_eec_state_err", in ocrdma_driver_dbg_stats()
598 pcur += ocrdma_add_stat(stats, pcur, "cqe_fatal_err", in ocrdma_driver_dbg_stats()
601 pcur += ocrdma_add_stat(stats, pcur, "cqe_resp_timeout_err", in ocrdma_driver_dbg_stats()
604 pcur += ocrdma_add_stat(stats, pcur, "cqe_general_err", in ocrdma_driver_dbg_stats()
607 return stats; in ocrdma_driver_dbg_stats()