Re: [net PATCH] octeontx2-af: Skip TM tree print for disabled SQs

From: Simon Horman

Date: Mon Nov 17 2025 - 12:48:49 EST


On Thu, Nov 13, 2025 at 03:09:00PM +0530, Anshumali Gaur wrote:
> 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.
>
> Fixes: b907194a5d5b ("octeontx2-af: Add debugfs support to dump NIX TM topology")
> Signed-off-by: Anshumali Gaur <agaur@xxxxxxxxxxx>

Thanks Anshumali,

I agree that this is a nice change. But I'd lean towards this being
net-next material rather than a bugfix for net.

This is because my understanding is that the change enhances the
readability of debugfs output which, as the name implies, is for debugging.

...