Re: [PATCH v10 2/2] IB/mlx5: Serialize force-enable state and preserve loopback accounting
From: Leon Romanovsky
Date: Mon Apr 13 2026 - 10:42:12 EST
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.
Thanks