Re: [PATCH net-next] net: mana: Add debug knob to skip TX timeout recovery reset

From: Simon Horman

Date: Thu Jul 16 2026 - 10:38:40 EST


On Fri, Jul 10, 2026 at 06:22:29AM -0700, Aditya Garg wrote:
> Add a per-port debugfs boolean "tx_timeout_skip_reset" that, when
> enabled, makes mana_tx_timeout() log the TX timeout and return without
> queueing the per-port detach/attach recovery work.
>
> This is a debug-only aid for bringup and qualification: skipping the
> recovery reset keeps the device and queue state intact so a TX timeout
> can be correlated with hardware telemetry. The knob defaults to false,
> so production recovery behaviour is unchanged.
>
> Signed-off-by: Aditya Garg <gargaditya@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> Reviewed-by: Dipayaan Roy <dipayanroy@xxxxxxxxxxxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>