Lines Matching refs:prev_stats
139 unsigned int queue, struct nfp_alink_stats *prev_stats, in __nfp_abm_stats_init() argument
148 backlog_pkts = prev_stats->backlog_pkts; in __nfp_abm_stats_init()
149 backlog_bytes = prev_stats->backlog_bytes; in __nfp_abm_stats_init()
151 err = nfp_abm_ctrl_read_q_stats(alink, band, queue, prev_stats); in __nfp_abm_stats_init()
167 prev_stats->backlog_pkts = backlog_pkts; in __nfp_abm_stats_init()
168 prev_stats->backlog_bytes = backlog_bytes; in __nfp_abm_stats_init()
181 &qdisc->red.band[i].prev_stats, in nfp_abm_stats_init()
502 &qdisc->red.band[i].prev_stats, in nfp_abm_gred_stats()
504 qdisc->red.band[i].prev_stats = qdisc->red.band[i].stats; in nfp_abm_gred_stats()
653 &qdisc->red.band[0].prev_stats, in nfp_abm_red_stats()
655 qdisc->red.band[0].prev_stats = qdisc->red.band[0].stats; in nfp_abm_red_stats()
792 memset(&qdisc->mq.prev_stats, 0, sizeof(qdisc->mq.prev_stats)); in nfp_abm_mq_stats()
805 nfp_abm_stats_propagate(&qdisc->mq.prev_stats, in nfp_abm_mq_stats()
806 &red->red.band[j].prev_stats); in nfp_abm_mq_stats()
810 nfp_abm_stats_calculate(&qdisc->mq.stats, &qdisc->mq.prev_stats, in nfp_abm_mq_stats()