summaryrefslogtreecommitdiff
path: root/package/iproute2
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-07-12 00:01:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-07-12 00:01:22 +0000
commitd680184c26e82580ab6a870ac10af4434affdb57 (patch)
tree138017fb7cffd711f79807bcc11ebb4b3797eef9 /package/iproute2
parent8addc868459bba88235068615ec38f67f1e703f4 (diff)
downloadmtk-20170518-d680184c26e82580ab6a870ac10af4434affdb57.zip
mtk-20170518-d680184c26e82580ab6a870ac10af4434affdb57.tar.gz
mtk-20170518-d680184c26e82580ab6a870ac10af4434affdb57.tar.bz2
sched: allow user space to create pfifo_fast qdiscs on virtual interfaces, allow pfifo_fast qdiscs to have filters and filter actions - useful for controlling packet classification into wme classes
SVN-Revision: 16791
Diffstat (limited to 'package/iproute2')
-rw-r--r--package/iproute2/patches/100-allow_pfifo_fast.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/iproute2/patches/100-allow_pfifo_fast.patch b/package/iproute2/patches/100-allow_pfifo_fast.patch
new file mode 100644
index 0000000..d6c15ae
--- /dev/null
+++ b/package/iproute2/patches/100-allow_pfifo_fast.patch
@@ -0,0 +1,9 @@
+--- a/tc/q_fifo.c
++++ b/tc/q_fifo.c
+@@ -94,5 +94,6 @@ struct qdisc_util pfifo_qdisc_util = {
+ extern int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt);
+ struct qdisc_util pfifo_fast_qdisc_util = {
+ .id = "pfifo_fast",
++ .parse_qopt = fifo_parse_opt,
+ .print_qopt = prio_print_opt,
+ };