Lines Matching refs:tx_packets
62 u64 tx_packets; member
277 u8 prio_bitmap, u64 *tx_packets, in mlxsw_sp_qdisc_bstats_per_priority_get() argument
282 *tx_packets = 0; in mlxsw_sp_qdisc_bstats_per_priority_get()
286 *tx_packets += xstats->tx_packets[i]; in mlxsw_sp_qdisc_bstats_per_priority_get()
300 u64 tx_bytes, tx_packets; in mlxsw_sp_qdisc_collect_tc_stats() local
305 &tx_packets, &tx_bytes); in mlxsw_sp_qdisc_collect_tc_stats()
307 *p_tx_packets += tx_packets; in mlxsw_sp_qdisc_collect_tc_stats()
317 u64 tx_bytes, u64 tx_packets, in mlxsw_sp_qdisc_update_stats() argument
324 tx_packets -= stats_base->tx_packets; in mlxsw_sp_qdisc_update_stats()
328 _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); in mlxsw_sp_qdisc_update_stats()
335 stats_base->tx_packets += tx_packets; in mlxsw_sp_qdisc_update_stats()
343 u64 tx_packets = 0; in mlxsw_sp_qdisc_get_tc_stats() local
349 &tx_bytes, &tx_packets, in mlxsw_sp_qdisc_get_tc_stats()
352 tx_bytes, tx_packets, drops, backlog, in mlxsw_sp_qdisc_get_tc_stats()
409 &stats_base->tx_packets, in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
607 u64 tx_packets = 0; in mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local
612 &tx_bytes, &tx_packets, in mlxsw_sp_setup_tc_qdisc_leaf_clean_stats()
615 mlxsw_sp_qdisc->stats_base.tx_packets = tx_packets; in mlxsw_sp_setup_tc_qdisc_leaf_clean_stats()
1071 u64 tx_packets = 0; in mlxsw_sp_qdisc_get_prio_stats() local
1080 &tx_bytes, &tx_packets, in mlxsw_sp_qdisc_get_prio_stats()
1085 tx_bytes, tx_packets, drops, backlog, in mlxsw_sp_qdisc_get_prio_stats()
1103 stats_base->tx_packets = stats->tx_packets; in mlxsw_sp_setup_tc_qdisc_prio_clean_stats()