]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Add a spinlock to protect the send ring
authorAlex Vesker <valex@mellanox.com>
Wed, 20 May 2020 15:09:14 +0000 (18:09 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 May 2020 01:13:51 +0000 (18:13 -0700)
commit4f050c7a1b4d148586bab5e1d4493c29c9a70340
treeedb6602099bbb74a8f0fac815765817c2bfaed81
parent8a3318874caf4f35e04c6290f532aa173d073559
net/mlx5: DR, Add a spinlock to protect the send ring

Adding this lock will allow writing steering entries without
locking the dr_domain and allow parallel insertion.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h