]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/sched: Export mq functions for reuse
authorToke Høiland-Jørgensen <toke@redhat.com>
Fri, 9 Jan 2026 13:15:30 +0000 (14:15 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 13 Jan 2026 10:54:29 +0000 (11:54 +0100)
commit8b27fd66f519858a4899c9c6d213e6fad7592ead
tree43eb1925551e1615d51f7f2fe7c72fde17da05de
parentde746f8f53410a0e31d8e5d145745332ee77d321
net/sched: Export mq functions for reuse

To enable the cake_mq qdisc to reuse code from the mq qdisc, export a
bunch of functions from sch_mq. Split common functionality out from some
functions so it can be composed with other code, and export other
functions wholesale. To discourage wanton reuse, put the symbols into a
new NET_SCHED_INTERNAL namespace, and a sch_priv.h header file.

No functional change intended.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/20260109-mq-cake-sub-qdisc-v8-1-8d613fece5d8@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
MAINTAINERS
include/net/sch_priv.h [new file with mode: 0644]
net/sched/sch_mq.c