diff options
author | Hariprasad Kelam <hkelam@marvell.com> | 2025-05-22 17:28:42 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-05-28 08:47:10 +0200 |
commit | 67af4ec948e8ce3ea53a9cf614d01fddf172e56d (patch) | |
tree | 1c302c0ae18ff49dcfc5d2e8bdab9452476a7a55 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 479c58016099d19686e36f6c50f912360839a7fa (diff) |
octeontx2-pf: QOS: Refactor TC_HTB_LEAF_DEL_LAST callback
This patch addresses below issues,
1. Active traffic on the leaf node must be stopped before its send queue
is reassigned to the parent. This patch resolves the issue by marking
the node as 'Inner'.
2. During a system reboot, the interface receives TC_HTB_LEAF_DEL
and TC_HTB_LEAF_DEL_LAST callbacks to delete its HTB queues.
In the case of TC_HTB_LEAF_DEL_LAST, although the same send queue
is reassigned to the parent, the current logic still attempts to update
the real number of queues, leadning to below warnings
New queues can't be registered after device unregistration.
WARNING: CPU: 0 PID: 6475 at net/core/net-sysfs.c:1714
netdev_queue_update_kobjects+0x1e4/0x200
Fixes: 5e6808b4c68d ("octeontx2-pf: Add support for HTB offload")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250522115842.1499666-1-hkelam@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions