Lines Matching refs:dstat
97 struct bnxt_re_rstat *dstat; in bnxt_re_get_qos_stats() local
138 dstat = &rdev->stats.dstat; in bnxt_re_get_qos_stats()
152 dstat->prev[0].tx_pkts = roce_only_tmp[0].tx_pkts; in bnxt_re_get_qos_stats()
153 dstat->prev[0].tx_bytes = roce_only_tmp[0].tx_bytes; in bnxt_re_get_qos_stats()
154 dstat->prev[0].rx_pkts = roce_only_tmp[0].rx_pkts; in bnxt_re_get_qos_stats()
155 dstat->prev[0].rx_bytes = roce_only_tmp[0].rx_bytes; in bnxt_re_get_qos_stats()
157 dstat->prev[1].tx_pkts = roce_only_tmp[1].tx_pkts; in bnxt_re_get_qos_stats()
158 dstat->prev[1].tx_bytes = roce_only_tmp[1].tx_bytes; in bnxt_re_get_qos_stats()
159 dstat->prev[1].rx_pkts = roce_only_tmp[1].rx_pkts; in bnxt_re_get_qos_stats()
160 dstat->prev[1].rx_bytes = roce_only_tmp[1].rx_bytes; in bnxt_re_get_qos_stats()
215 &dstat->prev[0].tx_pkts, in bnxt_re_get_qos_stats()
217 dstat->cur[0].tx_pkts += pkts; in bnxt_re_get_qos_stats()
219 &dstat->prev[0].tx_bytes, in bnxt_re_get_qos_stats()
221 dstat->cur[0].tx_bytes += diff + pkts * 4; in bnxt_re_get_qos_stats()
223 &dstat->prev[0].rx_pkts, in bnxt_re_get_qos_stats()
225 dstat->cur[0].rx_pkts += pkts; in bnxt_re_get_qos_stats()
228 &dstat->prev[0].rx_bytes, in bnxt_re_get_qos_stats()
230 dstat->cur[0].rx_bytes += bytes; in bnxt_re_get_qos_stats()
232 &dstat->prev[1].tx_pkts, in bnxt_re_get_qos_stats()
234 dstat->cur[1].tx_pkts += pkts; in bnxt_re_get_qos_stats()
236 &dstat->prev[1].tx_bytes, in bnxt_re_get_qos_stats()
238 dstat->cur[1].tx_bytes += diff + pkts * 4; in bnxt_re_get_qos_stats()
240 &dstat->prev[1].rx_pkts, in bnxt_re_get_qos_stats()
242 dstat->cur[1].rx_pkts += pkts; in bnxt_re_get_qos_stats()
244 &dstat->prev[1].rx_bytes, in bnxt_re_get_qos_stats()
246 dstat->cur[1].rx_bytes += bytes; in bnxt_re_get_qos_stats()
261 ro = &rdev->stats.dstat.cur[indx]; in bnxt_re_copy_ext_stats()
262 ext_d = &rdev->stats.dstat.ext_rstat[indx]; in bnxt_re_copy_ext_stats()
263 e_errs = &rdev->stats.dstat.e_errs; in bnxt_re_copy_ext_stats()
356 rstat = &rdev->stats.dstat.rstat[0]; in bnxt_re_get_roce_data_stats()
387 &rdev->stats.dstat.errs, in bnxt_re_get_device_stats()
520 ext_s = &rdev->stats.dstat.ext_rstat[0]; in bnxt_re_print_ext_stat()
545 struct bnxt_re_ro_counters *roce_only = &rdev->stats.dstat.cur[0]; in bnxt_re_print_roce_only_counters()
560 roce_only = &rdev->stats.dstat.cur[0]; in bnxt_re_print_normal_total_counters()
575 stats = &rdev->stats.dstat.rstat[0]; in bnxt_re_print_normal_counters()
600 rstats->value[BNXT_RE_RES_OOB_DROP_COUNT] = rdev->stats.dstat.e_errs.oob; in bnxt_re_print_normal_counters()
641 errs = &rdev->stats.dstat.errs; in bnxt_re_get_hw_stats()
642 rstat = &rdev->stats.dstat.rstat[0]; in bnxt_re_get_hw_stats()
643 e_errs = &rdev->stats.dstat.e_errs; in bnxt_re_get_hw_stats()