]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
octeontx2-af: Skip TM tree print for disabled SQs
authorAnshumali Gaur <agaur@marvell.com>
Tue, 18 Nov 2025 05:42:34 +0000 (11:12 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Nov 2025 04:06:22 +0000 (20:06 -0800)
commit929ca3bceab8eaeeb452c0574999c7c6d12b3772
treeb0368c22352caa4bf6e4182f91a7d3ddc981071a
parentbc41fbbf6faa9ffeaf0148019ed631077f7f150f
octeontx2-af: Skip TM tree print for disabled SQs

Currently, the TM tree is printing all SQ topology including those
which are not enabled, this results in redundant output for SQs
which are not active. This patch adds a check in print_tm_tree()
to skip printing the TM tree hierarchy if the SQ is not enabled.

Signed-off-by: Anshumali Gaur <agaur@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251118054235.1599714-1-agaur@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c