summaryrefslogtreecommitdiffstats
path: root/src/network/tc/qdisc.c
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2020-03-10 13:19:56 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-03-12 07:37:17 +0100
commit053a2ddbb28cd819acb292673d101890ece3b2ac (patch)
tree6959c9cd1b1d561a6ec8ea60c47efb1421e70eb5 /src/network/tc/qdisc.c
parenttest-network: add a test case for BFIFO (diff)
downloadsystemd-053a2ddbb28cd819acb292673d101890ece3b2ac.tar.xz
systemd-053a2ddbb28cd819acb292673d101890ece3b2ac.zip
network: TC - introduce pfifo_head_drop
This adds the required changes to gain access to the head drop classfull queuing discipline named pfifo_head_drop.
Diffstat (limited to 'src/network/tc/qdisc.c')
-rw-r--r--src/network/tc/qdisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/tc/qdisc.c b/src/network/tc/qdisc.c
index b6acc29f11..da0f43f7d2 100644
--- a/src/network/tc/qdisc.c
+++ b/src/network/tc/qdisc.c
@@ -27,6 +27,7 @@ const QDiscVTable * const qdisc_vtable[_QDISC_KIND_MAX] = {
[QDISC_KIND_NETEM] = &netem_vtable,
[QDISC_KIND_PIE] = &pie_vtable,
[QDISC_KIND_PFIFO] = &pfifo_vtable,
+ [QDISC_KIND_PFIFO_HEAD_DROP] = &pfifo_head_drop_vtable,
[QDISC_KIND_SFB] = &sfb_vtable,
[QDISC_KIND_SFQ] = &sfq_vtable,
[QDISC_KIND_TBF] = &tbf_vtable,