Thread (59 messages) 59 messages, 8 authors, 2023-01-25

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

From: Jacob Keller <jacob.e.keller@intel.com>
Date: 2023-01-18 21:51:49


On 1/18/2023 10:36 AM, Saeed Mahameed wrote:
From: Leon Romanovsky <leonro@nvidia.com>

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 <jacob.e.keller@intel.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help