Thread (5 messages) 5 messages, 4 authors, 2026-09-10

Re: [PATCH v4 net] octeontx2-pf: reset HTB scheduler topology before freeing queues

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-10 01:41:08
Also in: lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Thu, 3 Sep 2026 07:35:33 +0530 you wrote:
HTB offload programs NIX_AF_TLxX_TOPOLOGY on QoS-allocated scheduler
queues via otx2_qos_txschq_set_parent_topology(), but teardown freed
those queues without clearing TOPOLOGY.  The AF only restores PARENT and
SCHEDULE on free, so PRIO_ANCHOR/RR_PRIO settings can survive in the
shared scheduler pool and affect later allocations.

Add otx2_qos_reset_schq_topology() and otx2_qos_free_hw_schq() to zero
TL4 through TL2 TOPOLOGY before each schq is returned to the AF during
hierarchy teardown and cfg rollback.  Skip the aggregation level (TL1):
it is a per-tx-link queue shared by the PF, default Tx hierarchy and VFs,
and is not freed back to the AF by nix_txschq_free_one().

[...]
Here is the summary with links:
  - [v4,net] octeontx2-pf: reset HTB scheduler topology before freeing queues
    https://git.kernel.org/netdev/net/c/ef39fca85085

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help