Subject: Re: [net-next 15/15] net/mlx5e: Use read lock for eswitch get callbacks

From: Jacob Keller <[email-masked]>
Date: Wed, 18 Jan 2023 13:51:29 -0800

On 1/18/2023 10:36 AM, Saeed Mahameed wrote:
> From: Leon Romanovsky <[email-masked]>
> 
> In commit 367dfa121205 ("net/mlx5: Remove devl_unlock from
> mlx5_eswtich_mode_callback_enter") all functions were converted
> to use write lock without relation to their actual purpose.
> 
> Change the devlink eswitch getters to use read and not write locks.
> 
Makes sense.

Reviewed-by: Jacob Keller <[email-masked]>