]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Vxlan, add sync lock for add/del vxlan port
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 8 May 2018 23:17:06 +0000 (16:17 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 27 Jul 2018 22:46:11 +0000 (15:46 -0700)
commit07e6f7b365170ed9b95183dfcaf30064537f9666
tree30eabdfa3c0a10895b3cd8f30cc895ba142f67f1
parent3c15042202a61ebf8a3cb817e0e9e8ece5efba14
net/mlx5e: Vxlan, add sync lock for add/del vxlan port

Vxlan API can and will be called from different mlx5 modules, we should
not count on mlx5e private state lock only, hence we introduce a vxlan
private mutex to sync between add/del vxlan port operations.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/vxlan.c