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

From: Simon Horman

Date: Tue Nov 18 2025 - 04:49:51 EST


On Tue, Nov 18, 2025 at 11:12:34AM +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.
>
> Signed-off-by: Anshumali Gaur <agaur@xxxxxxxxxxx>

Thanks Anshumali,

As per my feedback on the 'net' variant of this patch,
this looks good to me.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>