Lines Matching refs:pkts
100 u64 pkts; in bnxt_re_get_qos_stats() local
174 pkts = bnxt_re_stat_diff(tmp_counters[0].cnp_tx_pkts, in bnxt_re_get_qos_stats()
177 cnps->cur[0].cnp_tx_pkts += pkts; in bnxt_re_get_qos_stats()
181 bytes = diff + pkts * 4; in bnxt_re_get_qos_stats()
183 pkts = bnxt_re_stat_diff(tmp_counters[0].cnp_rx_pkts, in bnxt_re_get_qos_stats()
186 cnps->cur[0].cnp_rx_pkts += pkts; in bnxt_re_get_qos_stats()
197 pkts = bnxt_re_stat_diff(tmp_counters[1].cnp_tx_pkts, in bnxt_re_get_qos_stats()
200 cnps->cur[1].cnp_tx_pkts += pkts; in bnxt_re_get_qos_stats()
204 cnps->cur[1].cnp_tx_bytes += diff + pkts * 4; in bnxt_re_get_qos_stats()
205 pkts = bnxt_re_stat_diff(tmp_counters[1].cnp_rx_pkts, in bnxt_re_get_qos_stats()
208 cnps->cur[1].cnp_rx_pkts += pkts; in bnxt_re_get_qos_stats()
214 pkts = bnxt_re_stat_diff(roce_only_tmp[0].tx_pkts, in bnxt_re_get_qos_stats()
217 dstat->cur[0].tx_pkts += pkts; in bnxt_re_get_qos_stats()
221 dstat->cur[0].tx_bytes += diff + pkts * 4; in bnxt_re_get_qos_stats()
222 pkts = bnxt_re_stat_diff(roce_only_tmp[0].rx_pkts, in bnxt_re_get_qos_stats()
225 dstat->cur[0].rx_pkts += pkts; in bnxt_re_get_qos_stats()
231 pkts = bnxt_re_stat_diff(roce_only_tmp[1].tx_pkts, in bnxt_re_get_qos_stats()
234 dstat->cur[1].tx_pkts += pkts; in bnxt_re_get_qos_stats()
238 dstat->cur[1].tx_bytes += diff + pkts * 4; in bnxt_re_get_qos_stats()
239 pkts = bnxt_re_stat_diff(roce_only_tmp[1].rx_pkts, in bnxt_re_get_qos_stats()
242 dstat->cur[1].rx_pkts += pkts; in bnxt_re_get_qos_stats()