Home
last modified time | relevance | path

Searched refs:xstats_base (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c73 } xstats_base; member
653 red_base = &mlxsw_sp_qdisc->xstats_base.red; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
774 struct red_stats *xstats_base = &mlxsw_sp_qdisc->xstats_base.red; in mlxsw_sp_qdisc_get_red_xstats() local
784 early_drops = xstats->wred_drop[tclass_num] - xstats_base->prob_drop; in mlxsw_sp_qdisc_get_red_xstats()
785 marks = xstats->tc_ecn[tclass_num] - xstats_base->prob_mark; in mlxsw_sp_qdisc_get_red_xstats()
787 xstats_base->pdrop; in mlxsw_sp_qdisc_get_red_xstats()
793 xstats_base->pdrop += pdrops; in mlxsw_sp_qdisc_get_red_xstats()
794 xstats_base->prob_drop += early_drops; in mlxsw_sp_qdisc_get_red_xstats()
795 xstats_base->prob_mark += marks; in mlxsw_sp_qdisc_get_red_xstats()