1 /* SPDX-License-Identifier: LGPL-2.1-or-later
2  * Copyright © 2020 VMware, Inc. */
3 #pragma once
4 
5 #include "qdisc.h"
6 
7 typedef struct DeficitRoundRobinScheduler {
8         QDisc meta;
9 } DeficitRoundRobinScheduler;
10 
11 DEFINE_QDISC_CAST(DRR, DeficitRoundRobinScheduler);
12 extern const QDiscVTable drr_vtable;
13 
14 typedef struct DeficitRoundRobinSchedulerClass {
15         TClass meta;
16 
17         uint32_t quantum;
18 } DeficitRoundRobinSchedulerClass;
19 
20 DEFINE_TCLASS_CAST(DRR, DeficitRoundRobinSchedulerClass);
21 extern const TClassVTable drr_tclass_vtable;
22 
23 CONFIG_PARSER_PROTOTYPE(config_parse_drr_size);
24