Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c53 } xstats_base; member
264 red_base = &mlxsw_sp_qdisc->xstats_base.red; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
362 struct red_stats *xstats_base = &mlxsw_sp_qdisc->xstats_base.red; in mlxsw_sp_qdisc_get_red_xstats() local
370 early_drops = xstats->wred_drop[tclass_num] - xstats_base->prob_drop; in mlxsw_sp_qdisc_get_red_xstats()
371 marks = xstats->ecn - xstats_base->prob_mark; in mlxsw_sp_qdisc_get_red_xstats()
372 pdrops = xstats->tail_drop[tclass_num] - xstats_base->pdrop; in mlxsw_sp_qdisc_get_red_xstats()
378 xstats_base->pdrop += pdrops; in mlxsw_sp_qdisc_get_red_xstats()
379 xstats_base->prob_drop += early_drops; in mlxsw_sp_qdisc_get_red_xstats()
380 xstats_base->prob_mark += marks; in mlxsw_sp_qdisc_get_red_xstats()