]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: sched: rename QDISC_DROP_FQ_* to generic names
authorJesper Dangaard Brouer <hawk@kernel.org>
Thu, 26 Feb 2026 13:44:29 +0000 (14:44 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Feb 2026 23:31:35 +0000 (15:31 -0800)
commitf30d9073ec1909a3b06a9cee57215bed3458da80
treecab5d802b2d117f137b819543553cc0b318ee067
parent3e28f8ad478f165260deba751858afac46cffd2f
net: sched: rename QDISC_DROP_FQ_* to generic names

Rename FQ-specific drop reasons to generic names:
- QDISC_DROP_FQ_BAND_LIMIT -> QDISC_DROP_BAND_LIMIT
- QDISC_DROP_FQ_HORIZON_LIMIT -> QDISC_DROP_HORIZON_LIMIT

This follows the principle that drop reasons should describe the drop
mechanism rather than being tied to a specific qdisc implementation.
These concepts (priority band limits, timestamp horizon) could apply
to other qdiscs as well.

Remove the local macro define FQDR() and instead use the
full QDISC_DROP_* name to make it easier to navigate code.

Signed-off-by: Jesper Dangaard Brouer <hawk@kernel.org>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/177211346902.3011628.12523261489552097455.stgit@firesoul
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dropreason-qdisc.h
net/sched/sch_fq.c