summaryrefslogtreecommitdiffstats
path: root/tc/tc_cbq.h
blob: fa17d249a1cc2fc30bdf464f2534b23bf26ef16a (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _TC_CBQ_H_
#define _TC_CBQ_H_ 1

unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt,
			     int ewma_log, unsigned maxburst);
unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt,
			     int ewma_log, unsigned minburst);

#endif