mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
Derive the hardware QoS channel from opt->parent instead of opt->handle
in airoha_tc_setup_qdisc_ets(). The ETS qdisc handle is either
user-specified or auto-allocated by qdisc_alloc_handle() and bears no
relation to the HTB leaf classid that identifies the hardware channel.
HTB derives the channel from TC_H_MIN(opt->classid), and ETS is always
attached as a child of an HTB leaf, so its opt->parent matches that
classid. Using opt->handle instead can cause two ETS qdiscs on different
HTB leaves to collide on the same hardware channel, corrupting scheduler
configuration and stats.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| airoha_eth.c | ||
| airoha_eth.h | ||
| airoha_npu.c | ||
| airoha_ppe.c | ||
| airoha_ppe_debugfs.c | ||
| airoha_regs.h | ||
| Kconfig | ||
| Makefile | ||