| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
* Copyright © 2019 VMware, Inc. */ |
| 3 |
#pragma once |
| 4 |
|
| 5 |
#include "shared-forward.h" |
| 6 |
#include "qdisc.h" |
| 7 |
|
| 8 |
typedef struct FairQueueingControlledDelay { |
| 9 |
QDisc meta; |
| 10 |
|
| 11 |
uint32_t packet_limit; |
| 12 |
uint32_t flows; |
| 13 |
uint32_t quantum; |
| 14 |
uint32_t memory_limit; |
| 15 |
usec_t target_usec; |
| 16 |
usec_t interval_usec; |
| 17 |
usec_t ce_threshold_usec; |
| 18 |
int ecn; |
| 19 |
} FairQueueingControlledDelay; |
| 20 |
|
| 21 |
DEFINE_QDISC_CAST(FQ_CODEL, FairQueueingControlledDelay); |
| 22 |
extern const QDiscVTable fq_codel_vtable; |
| 23 |
|
| 24 |
CONFIG_PARSER_PROTOTYPE(config_parse_fq_codel_u32); |
| 25 |
CONFIG_PARSER_PROTOTYPE(config_parse_fq_codel_usec); |
| 26 |
CONFIG_PARSER_PROTOTYPE(config_parse_fq_codel_bool); |
| 27 |
CONFIG_PARSER_PROTOTYPE(config_parse_fq_codel_size); |