Lines Matching full:band
49 unsigned int stride, unsigned int offset, unsigned int band, in nfp_abm_ctrl_stat() argument
58 qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; in nfp_abm_ctrl_stat()
66 nfp_err(cpp, "RED offload reading stat failed on vNIC %d band %d queue %d (+ %d)\n", in nfp_abm_ctrl_stat()
67 alink->id, band, queue, alink->queue_base); in nfp_abm_ctrl_stat()
98 int nfp_abm_ctrl_set_q_lvl(struct nfp_abm_link *alink, unsigned int band, in nfp_abm_ctrl_set_q_lvl() argument
103 threshold = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; in nfp_abm_ctrl_set_q_lvl()
131 int nfp_abm_ctrl_set_q_act(struct nfp_abm_link *alink, unsigned int band, in nfp_abm_ctrl_set_q_act() argument
136 qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; in nfp_abm_ctrl_set_q_act()
143 unsigned int band; in nfp_abm_ctrl_stat_non_sto() local
146 for (band = 0; band < alink->abm->num_bands; band++) { in nfp_abm_ctrl_stat_non_sto()
149 band, queue, true, &val)) in nfp_abm_ctrl_stat_non_sto()
159 unsigned int band; in nfp_abm_ctrl_stat_sto() local
162 for (band = 0; band < alink->abm->num_bands; band++) { in nfp_abm_ctrl_stat_sto()
165 band, queue, true, &val)) in nfp_abm_ctrl_stat_sto()
174 nfp_abm_ctrl_stat_basic(struct nfp_abm_link *alink, unsigned int band, in nfp_abm_ctrl_stat_basic() argument
178 if (!band) { in nfp_abm_ctrl_stat_basic()
190 NFP_Q_STAT_STRIDE, off, band, queue, in nfp_abm_ctrl_stat_basic()
195 int nfp_abm_ctrl_read_q_stats(struct nfp_abm_link *alink, unsigned int band, in nfp_abm_ctrl_read_q_stats() argument
200 err = nfp_abm_ctrl_stat_basic(alink, band, queue, NFP_Q_STAT_PKTS, in nfp_abm_ctrl_read_q_stats()
205 err = nfp_abm_ctrl_stat_basic(alink, band, queue, NFP_Q_STAT_BYTES, in nfp_abm_ctrl_read_q_stats()
211 NFP_QLVL_BLOG_BYTES, band, queue, false, in nfp_abm_ctrl_read_q_stats()
218 band, queue, false, &stats->backlog_pkts); in nfp_abm_ctrl_read_q_stats()
224 band, queue, true, &stats->drops); in nfp_abm_ctrl_read_q_stats()
230 band, queue, true, &stats->overlimits); in nfp_abm_ctrl_read_q_stats()
234 unsigned int band, unsigned int queue, in nfp_abm_ctrl_read_q_xstats() argument
241 band, queue, true, &xstats->pdrop); in nfp_abm_ctrl_read_q_xstats()
247 band, queue, true, &xstats->ecn_marked); in nfp_abm_ctrl_read_q_xstats()