aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorRoi Dayan <[email protected]>2020-09-16 07:11:42 +0000
committerSaeed Mahameed <[email protected]>2021-03-16 23:48:42 +0000
commitc55479d0cb6a28029844d0e90730704a0fb5efd3 (patch)
tree9ed2f7e753c6cb5dc2865591eb2ec897f7f1ada6 /net/tipc/node.c
parentnet/mlx5e: Do not reload ethernet ports when changing eswitch mode (diff)
downloadkernel-c55479d0cb6a28029844d0e90730704a0fb5efd3.tar.gz
kernel-c55479d0cb6a28029844d0e90730704a0fb5efd3.zip
net/mlx5: E-Switch, Change mode lock from mutex to rw semaphore
E-Switch mode change routine will take the write lock to prevent any consumer to access the E-Switch resources while E-Switch is going through a mode change. In the next patch E-Switch consumers (e.g vport representors) will take read_lock prior to accessing E-Switch resources to prevent E-Switch mode changing in the middle of the operation. Signed-off-by: Roi Dayan <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions