Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Anshumali Gaur and committed by
Jakub Kicinski
929ca3bc bc41fbbf

+3
+3
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
··· 1663 1663 int blkaddr; 1664 1664 u64 cfg; 1665 1665 1666 + if (!sq_ctx->ena) 1667 + return; 1668 + 1666 1669 blkaddr = nix_hw->blkaddr; 1667 1670 schq = sq_ctx->smq; 1668 1671