Re: [PATCH v10 2/2] IB/mlx5: Serialize force-enable state and preserve loopback accounting
From: Prathamesh Deshpande
Date: Tue Apr 14 2026 - 21:02:31 EST
On Mon, Apr 13, 2026 at 05:41:55PM +0300, Leon Romanovsky wrote:
> On Sun, Apr 12, 2026 at 02:18:50AM +0100, Prathamesh Deshpande wrote:
> > force_enable is shared between MP bind/unbind flows and regular loopback
> > enable/disable flows. MP helpers updated force_enable without lb.mutex,
> > while regular paths read it under lb.mutex.
>
> Yes, this is intentional. During device probing, a device cannot be treated as
> both MP and regular at the same time.
Hi Leon,
Thanks for the clarification. I've addressed this in v11 by dropping the
MP-related locking changes to keep the intentional behavior unchanged.
The updated series has been submitted as a fresh thread.
Thanks,
Prathamesh