Lines Matching refs:stats

91 	char *stats = dev->stats_mem.debugfs_mem, *pcur;  in ocrdma_resource_stats()  local
96 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_resource_stats()
98 pcur = stats; in ocrdma_resource_stats()
99 pcur += ocrdma_add_stat(stats, pcur, "active_dpp_pds", in ocrdma_resource_stats()
101 pcur += ocrdma_add_stat(stats, pcur, "active_non_dpp_pds", in ocrdma_resource_stats()
103 pcur += ocrdma_add_stat(stats, pcur, "active_rc_dpp_qps", in ocrdma_resource_stats()
105 pcur += ocrdma_add_stat(stats, pcur, "active_uc_dpp_qps", in ocrdma_resource_stats()
107 pcur += ocrdma_add_stat(stats, pcur, "active_ud_dpp_qps", in ocrdma_resource_stats()
109 pcur += ocrdma_add_stat(stats, pcur, "active_rc_non_dpp_qps", in ocrdma_resource_stats()
111 pcur += ocrdma_add_stat(stats, pcur, "active_uc_non_dpp_qps", in ocrdma_resource_stats()
113 pcur += ocrdma_add_stat(stats, pcur, "active_ud_non_dpp_qps", in ocrdma_resource_stats()
115 pcur += ocrdma_add_stat(stats, pcur, "active_srqs", in ocrdma_resource_stats()
117 pcur += ocrdma_add_stat(stats, pcur, "active_rbqs", in ocrdma_resource_stats()
119 pcur += ocrdma_add_stat(stats, pcur, "active_64K_nsmr", in ocrdma_resource_stats()
121 pcur += ocrdma_add_stat(stats, pcur, "active_64K_to_2M_nsmr", in ocrdma_resource_stats()
123 pcur += ocrdma_add_stat(stats, pcur, "active_2M_to_44M_nsmr", in ocrdma_resource_stats()
125 pcur += ocrdma_add_stat(stats, pcur, "active_44M_to_1G_nsmr", in ocrdma_resource_stats()
127 pcur += ocrdma_add_stat(stats, pcur, "active_1G_to_4G_nsmr", in ocrdma_resource_stats()
129 pcur += ocrdma_add_stat(stats, pcur, "active_nsmr_count_4G_to_32G", in ocrdma_resource_stats()
131 pcur += ocrdma_add_stat(stats, pcur, "active_32G_to_64G_nsmr", in ocrdma_resource_stats()
133 pcur += ocrdma_add_stat(stats, pcur, "active_64G_to_128G_nsmr", in ocrdma_resource_stats()
135 pcur += ocrdma_add_stat(stats, pcur, "active_128G_to_higher_nsmr", in ocrdma_resource_stats()
137 pcur += ocrdma_add_stat(stats, pcur, "active_embedded_nsmr", in ocrdma_resource_stats()
139 pcur += ocrdma_add_stat(stats, pcur, "active_frmr", in ocrdma_resource_stats()
141 pcur += ocrdma_add_stat(stats, pcur, "active_prefetch_qps", in ocrdma_resource_stats()
143 pcur += ocrdma_add_stat(stats, pcur, "active_ondemand_qps", in ocrdma_resource_stats()
145 pcur += ocrdma_add_stat(stats, pcur, "active_phy_mr", in ocrdma_resource_stats()
147 pcur += ocrdma_add_stat(stats, pcur, "active_mw", in ocrdma_resource_stats()
153 pcur += ocrdma_add_stat(stats, pcur, "threshold_dpp_pds", in ocrdma_resource_stats()
155 pcur += ocrdma_add_stat(stats, pcur, "threshold_non_dpp_pds", in ocrdma_resource_stats()
157 pcur += ocrdma_add_stat(stats, pcur, "threshold_rc_dpp_qps", in ocrdma_resource_stats()
159 pcur += ocrdma_add_stat(stats, pcur, "threshold_uc_dpp_qps", in ocrdma_resource_stats()
161 pcur += ocrdma_add_stat(stats, pcur, "threshold_ud_dpp_qps", in ocrdma_resource_stats()
163 pcur += ocrdma_add_stat(stats, pcur, "threshold_rc_non_dpp_qps", in ocrdma_resource_stats()
165 pcur += ocrdma_add_stat(stats, pcur, "threshold_uc_non_dpp_qps", in ocrdma_resource_stats()
167 pcur += ocrdma_add_stat(stats, pcur, "threshold_ud_non_dpp_qps", in ocrdma_resource_stats()
169 pcur += ocrdma_add_stat(stats, pcur, "threshold_srqs", in ocrdma_resource_stats()
171 pcur += ocrdma_add_stat(stats, pcur, "threshold_rbqs", in ocrdma_resource_stats()
173 pcur += ocrdma_add_stat(stats, pcur, "threshold_64K_nsmr", in ocrdma_resource_stats()
175 pcur += ocrdma_add_stat(stats, pcur, "threshold_64K_to_2M_nsmr", in ocrdma_resource_stats()
177 pcur += ocrdma_add_stat(stats, pcur, "threshold_2M_to_44M_nsmr", in ocrdma_resource_stats()
179 pcur += ocrdma_add_stat(stats, pcur, "threshold_44M_to_1G_nsmr", in ocrdma_resource_stats()
181 pcur += ocrdma_add_stat(stats, pcur, "threshold_1G_to_4G_nsmr", in ocrdma_resource_stats()
183 pcur += ocrdma_add_stat(stats, pcur, "threshold_nsmr_count_4G_to_32G", in ocrdma_resource_stats()
185 pcur += ocrdma_add_stat(stats, pcur, "threshold_32G_to_64G_nsmr", in ocrdma_resource_stats()
187 pcur += ocrdma_add_stat(stats, pcur, "threshold_64G_to_128G_nsmr", in ocrdma_resource_stats()
189 pcur += ocrdma_add_stat(stats, pcur, "threshold_128G_to_higher_nsmr", in ocrdma_resource_stats()
191 pcur += ocrdma_add_stat(stats, pcur, "threshold_embedded_nsmr", in ocrdma_resource_stats()
193 pcur += ocrdma_add_stat(stats, pcur, "threshold_frmr", in ocrdma_resource_stats()
195 pcur += ocrdma_add_stat(stats, pcur, "threshold_prefetch_qps", in ocrdma_resource_stats()
197 pcur += ocrdma_add_stat(stats, pcur, "threshold_ondemand_qps", in ocrdma_resource_stats()
199 pcur += ocrdma_add_stat(stats, pcur, "threshold_phy_mr", in ocrdma_resource_stats()
201 pcur += ocrdma_add_stat(stats, pcur, "threshold_mw", in ocrdma_resource_stats()
203 return stats; in ocrdma_resource_stats()
208 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_rx_stats() local
213 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_rx_stats()
215 pcur = stats; in ocrdma_rx_stats()
217 (stats, pcur, "roce_frame_bytes", in ocrdma_rx_stats()
220 pcur += ocrdma_add_stat(stats, pcur, "roce_frame_icrc_drops", in ocrdma_rx_stats()
222 pcur += ocrdma_add_stat(stats, pcur, "roce_frame_payload_len_drops", in ocrdma_rx_stats()
224 pcur += ocrdma_add_stat(stats, pcur, "ud_drops", in ocrdma_rx_stats()
226 pcur += ocrdma_add_stat(stats, pcur, "qp1_drops", in ocrdma_rx_stats()
228 pcur += ocrdma_add_stat(stats, pcur, "psn_error_request_packets", in ocrdma_rx_stats()
230 pcur += ocrdma_add_stat(stats, pcur, "psn_error_resp_packets", in ocrdma_rx_stats()
232 pcur += ocrdma_add_stat(stats, pcur, "rnr_nak_timeouts", in ocrdma_rx_stats()
234 pcur += ocrdma_add_stat(stats, pcur, "rnr_nak_receives", in ocrdma_rx_stats()
236 pcur += ocrdma_add_stat(stats, pcur, "roce_frame_rxmt_drops", in ocrdma_rx_stats()
238 pcur += ocrdma_add_stat(stats, pcur, "nak_count_psn_sequence_errors", in ocrdma_rx_stats()
240 pcur += ocrdma_add_stat(stats, pcur, "rc_drop_count_lookup_errors", in ocrdma_rx_stats()
242 pcur += ocrdma_add_stat(stats, pcur, "rq_rnr_naks", in ocrdma_rx_stats()
244 pcur += ocrdma_add_stat(stats, pcur, "srq_rnr_naks", in ocrdma_rx_stats()
246 pcur += ocrdma_add_stat(stats, pcur, "roce_frames", in ocrdma_rx_stats()
250 return stats; in ocrdma_rx_stats()
276 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_tx_stats() local
281 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_tx_stats()
283 pcur = stats; in ocrdma_tx_stats()
284 pcur += ocrdma_add_stat(stats, pcur, "send_pkts", in ocrdma_tx_stats()
287 pcur += ocrdma_add_stat(stats, pcur, "write_pkts", in ocrdma_tx_stats()
290 pcur += ocrdma_add_stat(stats, pcur, "read_pkts", in ocrdma_tx_stats()
293 pcur += ocrdma_add_stat(stats, pcur, "read_rsp_pkts", in ocrdma_tx_stats()
296 pcur += ocrdma_add_stat(stats, pcur, "ack_pkts", in ocrdma_tx_stats()
299 pcur += ocrdma_add_stat(stats, pcur, "send_bytes", in ocrdma_tx_stats()
302 pcur += ocrdma_add_stat(stats, pcur, "write_bytes", in ocrdma_tx_stats()
305 pcur += ocrdma_add_stat(stats, pcur, "read_req_bytes", in ocrdma_tx_stats()
308 pcur += ocrdma_add_stat(stats, pcur, "read_rsp_bytes", in ocrdma_tx_stats()
311 pcur += ocrdma_add_stat(stats, pcur, "ack_timeouts", in ocrdma_tx_stats()
314 return stats; in ocrdma_tx_stats()
350 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_wqe_stats() local
355 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_wqe_stats()
357 pcur = stats; in ocrdma_wqe_stats()
358 pcur += ocrdma_add_stat(stats, pcur, "large_send_rc_wqes", in ocrdma_wqe_stats()
361 pcur += ocrdma_add_stat(stats, pcur, "large_write_rc_wqes", in ocrdma_wqe_stats()
364 pcur += ocrdma_add_stat(stats, pcur, "read_wqes", in ocrdma_wqe_stats()
367 pcur += ocrdma_add_stat(stats, pcur, "frmr_wqes", in ocrdma_wqe_stats()
370 pcur += ocrdma_add_stat(stats, pcur, "mw_bind_wqes", in ocrdma_wqe_stats()
373 pcur += ocrdma_add_stat(stats, pcur, "invalidate_wqes", in ocrdma_wqe_stats()
376 pcur += ocrdma_add_stat(stats, pcur, "dpp_wqe_drops", in ocrdma_wqe_stats()
378 return stats; in ocrdma_wqe_stats()
383 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_db_errstats() local
388 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_db_errstats()
390 pcur = stats; in ocrdma_db_errstats()
391 pcur += ocrdma_add_stat(stats, pcur, "sq_doorbell_errors", in ocrdma_db_errstats()
393 pcur += ocrdma_add_stat(stats, pcur, "cq_doorbell_errors", in ocrdma_db_errstats()
395 pcur += ocrdma_add_stat(stats, pcur, "rq_srq_doorbell_errors", in ocrdma_db_errstats()
397 pcur += ocrdma_add_stat(stats, pcur, "cq_overflow_errors", in ocrdma_db_errstats()
399 return stats; in ocrdma_db_errstats()
404 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_rxqp_errstats() local
410 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_rxqp_errstats()
412 pcur = stats; in ocrdma_rxqp_errstats()
413 pcur += ocrdma_add_stat(stats, pcur, "nak_invalid_requst_errors", in ocrdma_rxqp_errstats()
415 pcur += ocrdma_add_stat(stats, pcur, "nak_remote_operation_errors", in ocrdma_rxqp_errstats()
417 pcur += ocrdma_add_stat(stats, pcur, "nak_count_remote_access_errors", in ocrdma_rxqp_errstats()
419 pcur += ocrdma_add_stat(stats, pcur, "local_length_errors", in ocrdma_rxqp_errstats()
421 pcur += ocrdma_add_stat(stats, pcur, "local_protection_errors", in ocrdma_rxqp_errstats()
423 pcur += ocrdma_add_stat(stats, pcur, "local_qp_operation_errors", in ocrdma_rxqp_errstats()
425 return stats; in ocrdma_rxqp_errstats()
430 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_txqp_errstats() local
436 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_txqp_errstats()
438 pcur = stats; in ocrdma_txqp_errstats()
439 pcur += ocrdma_add_stat(stats, pcur, "local_length_errors", in ocrdma_txqp_errstats()
441 pcur += ocrdma_add_stat(stats, pcur, "local_protection_errors", in ocrdma_txqp_errstats()
443 pcur += ocrdma_add_stat(stats, pcur, "local_qp_operation_errors", in ocrdma_txqp_errstats()
445 pcur += ocrdma_add_stat(stats, pcur, "retry_count_exceeded_errors", in ocrdma_txqp_errstats()
447 pcur += ocrdma_add_stat(stats, pcur, "rnr_retry_count_exceeded_errors", in ocrdma_txqp_errstats()
449 return stats; in ocrdma_txqp_errstats()
490 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_driver_dbg_stats() local
493 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_driver_dbg_stats()
495 pcur = stats; in ocrdma_driver_dbg_stats()
496 pcur += ocrdma_add_stat(stats, pcur, "async_cq_err", in ocrdma_driver_dbg_stats()
499 pcur += ocrdma_add_stat(stats, pcur, "async_cq_overrun_err", in ocrdma_driver_dbg_stats()
502 pcur += ocrdma_add_stat(stats, pcur, "async_cq_qpcat_err", in ocrdma_driver_dbg_stats()
505 pcur += ocrdma_add_stat(stats, pcur, "async_qp_access_err", in ocrdma_driver_dbg_stats()
508 pcur += ocrdma_add_stat(stats, pcur, "async_qp_commm_est_evt", in ocrdma_driver_dbg_stats()
511 pcur += ocrdma_add_stat(stats, pcur, "async_sq_drained_evt", in ocrdma_driver_dbg_stats()
514 pcur += ocrdma_add_stat(stats, pcur, "async_dev_fatal_evt", in ocrdma_driver_dbg_stats()
517 pcur += ocrdma_add_stat(stats, pcur, "async_srqcat_err", in ocrdma_driver_dbg_stats()
520 pcur += ocrdma_add_stat(stats, pcur, "async_srq_limit_evt", in ocrdma_driver_dbg_stats()
523 pcur += ocrdma_add_stat(stats, pcur, "async_qp_last_wqe_evt", in ocrdma_driver_dbg_stats()
527 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_len_err", in ocrdma_driver_dbg_stats()
530 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_qp_op_err", in ocrdma_driver_dbg_stats()
533 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_eec_op_err", in ocrdma_driver_dbg_stats()
536 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_prot_err", in ocrdma_driver_dbg_stats()
539 pcur += ocrdma_add_stat(stats, pcur, "cqe_wr_flush_err", in ocrdma_driver_dbg_stats()
542 pcur += ocrdma_add_stat(stats, pcur, "cqe_mw_bind_err", in ocrdma_driver_dbg_stats()
545 pcur += ocrdma_add_stat(stats, pcur, "cqe_bad_resp_err", in ocrdma_driver_dbg_stats()
548 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_access_err", in ocrdma_driver_dbg_stats()
551 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_inv_req_err", in ocrdma_driver_dbg_stats()
554 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_access_err", in ocrdma_driver_dbg_stats()
557 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_op_err", in ocrdma_driver_dbg_stats()
560 pcur += ocrdma_add_stat(stats, pcur, "cqe_retry_exc_err", in ocrdma_driver_dbg_stats()
563 pcur += ocrdma_add_stat(stats, pcur, "cqe_rnr_retry_exc_err", in ocrdma_driver_dbg_stats()
566 pcur += ocrdma_add_stat(stats, pcur, "cqe_loc_rdd_viol_err", in ocrdma_driver_dbg_stats()
569 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_inv_rd_req_err", in ocrdma_driver_dbg_stats()
572 pcur += ocrdma_add_stat(stats, pcur, "cqe_rem_abort_err", in ocrdma_driver_dbg_stats()
575 pcur += ocrdma_add_stat(stats, pcur, "cqe_inv_eecn_err", in ocrdma_driver_dbg_stats()
578 pcur += ocrdma_add_stat(stats, pcur, "cqe_inv_eec_state_err", in ocrdma_driver_dbg_stats()
581 pcur += ocrdma_add_stat(stats, pcur, "cqe_fatal_err", in ocrdma_driver_dbg_stats()
584 pcur += ocrdma_add_stat(stats, pcur, "cqe_resp_timeout_err", in ocrdma_driver_dbg_stats()
587 pcur += ocrdma_add_stat(stats, pcur, "cqe_general_err", in ocrdma_driver_dbg_stats()
590 return stats; in ocrdma_driver_dbg_stats()