Re: [PATCH v12 2/2] IB/mlx5: Fix loopback threshold/accounting in regular path

From: Jason Gunthorpe

Date: Fri Jun 05 2026 - 13:50:27 EST


On Sun, May 10, 2026 at 11:22:54PM +0100, Prathamesh Deshpande wrote:
> In regular (non-MP) loopback enable/disable paths, threshold logic uses a
> hardcoded user_td baseline and does not rollback counters when HW enable
> fails.

This is two things again. I took the cleaner version of the rollback
fix from someone else.

I have no idea what this is supposed to mean:

> Use a TD-capability-aware baseline for user_td transitions, and rollback
> user_td/qps accounting if mlx5_nic_vport_update_local_lb() fails.

Jason