Re: [PATCH v10 2/2] IB/mlx5: Serialize force-enable state and preserve loopback accounting

Leon Romanovsky
2026-04-13T14:42:01Z

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