On Sun, Apr 26, 2020 at 10:17:14AM +0300, Maor Gottlieb wrote:
> The lag lock could be a mutex, the critical section is short
> and there is no need that the thread will sleep.
> Change the lock that protects the LAG structure from mutex
> to spin lock. It is required for next patch that need to
> access this structure from context that we can't sleep.
> In addition there is no need to hold this lock when query the
> congestion counters.
> 
> Signed-off-by: Maor Gottlieb <ma...@mellanox.com>
> Reviewed-by: Leon Romanovsky <leo...@mellanox.com>
> ---
>  drivers/net/ethernet/mellanox/mlx5/core/lag.c | 42 +++++++++----------
>  1 file changed, 21 insertions(+), 21 deletions(-)

Lets have these two net/ patches before the RDMA patches, it seems there is
not a reason here to send RDMA patches to net

Thanks,
Jason

Reply via email to