Lines Matching refs:tx_packets
56 u64 tx_packets; member
200 u8 prio_bitmap, u64 *tx_packets, in mlxsw_sp_qdisc_bstats_per_priority_get() argument
205 *tx_packets = 0; in mlxsw_sp_qdisc_bstats_per_priority_get()
209 *tx_packets += xstats->tx_packets[i]; in mlxsw_sp_qdisc_bstats_per_priority_get()
268 &stats_base->tx_packets, in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
389 u64 tx_bytes, tx_packets, overlimits, drops, backlog; in mlxsw_sp_qdisc_get_red_stats() local
399 &tx_packets, &tx_bytes); in mlxsw_sp_qdisc_get_red_stats()
401 tx_packets = tx_packets - stats_base->tx_packets; in mlxsw_sp_qdisc_get_red_stats()
409 _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); in mlxsw_sp_qdisc_get_red_stats()
422 stats_base->tx_packets += tx_packets; in mlxsw_sp_qdisc_get_red_stats()
564 u64 tx_bytes, tx_packets, drops = 0, backlog = 0; in mlxsw_sp_qdisc_get_prio_stats() local
575 tx_packets = stats->tx_packets - stats_base->tx_packets; in mlxsw_sp_qdisc_get_prio_stats()
584 _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); in mlxsw_sp_qdisc_get_prio_stats()
594 stats_base->tx_packets += tx_packets; in mlxsw_sp_qdisc_get_prio_stats()
611 stats_base->tx_packets = stats->tx_packets; in mlxsw_sp_setup_tc_qdisc_prio_clean_stats()