2019-11-27 12:42:21 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
* Copyright © 2019 VMware, Inc. */
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "conf-parser.h"
|
2019-12-11 12:10:29 +01:00
|
|
|
#include "qdisc.h"
|
|
|
|
#include "time-util.h"
|
2019-11-27 12:42:21 +01:00
|
|
|
|
|
|
|
typedef struct StochasticFairnessQueueing {
|
2019-12-11 12:10:29 +01:00
|
|
|
QDisc meta;
|
|
|
|
|
2019-11-27 12:42:21 +01:00
|
|
|
usec_t perturb_period;
|
|
|
|
} StochasticFairnessQueueing;
|
|
|
|
|
2019-12-11 12:10:29 +01:00
|
|
|
DEFINE_QDISC_CAST(SFQ, StochasticFairnessQueueing);
|
|
|
|
extern const QDiscVTable sfq_vtable;
|
2019-11-27 12:42:21 +01:00
|
|
|
|
2020-02-04 13:45:29 +01:00
|
|
|
CONFIG_PARSER_PROTOTYPE(config_parse_stochastic_fairness_queueing_perturb_period);
|