diff options
| author | 2026-06-19 13:37:13 +0200 | |
|---|---|---|
| committer | 2026-06-24 17:44:42 -0700 | |
| commit | bfcce49c4aaab9339ef7b9a7fa4d8ac5a19cc820 (patch) | |
| tree | 4c80e746879e8d640d77471387515cdcb227cea9 /tools/perf/scripts/python | |
| parent | eth: fbnic: fix ordering of heartbeat vs ownership (diff) | |
net: airoha: Fix off-by-one in airoha_tc_remove_htb_queue()
airoha_tc_htb_alloc_leaf_queue() computes the HTB QoS channel index
as opt->classid % AIROHA_NUM_QOS_CHANNELS and stores it in qos_sq_bmap.
However, airoha_tc_remove_htb_queue() clears the HTB configuration
using queue + 1 as the channel index, causing an off-by-one error.
Use queue directly as the QoS channel index to match the allocation
logic.
Fixes: ef1ca9271313b ("net: airoha: Add sched HTB offload support")
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260619-airoha-qos-fixes-v2-1-5c43485038f9@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
