Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c260 struct red_stats *red_base; in mlxsw_sp_setup_tc_qdisc_red_clean_stats() local
264 red_base = &mlxsw_sp_qdisc->xstats_base.red; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
270 red_base->prob_mark = xstats->ecn; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
271 red_base->prob_drop = xstats->wred_drop[tclass_num]; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
272 red_base->pdrop = xstats->tail_drop[tclass_num]; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
274 stats_base->overlimits = red_base->prob_drop + red_base->prob_mark; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
275 stats_base->drops = red_base->prob_drop + red_base->pdrop; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()