]> 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)
commite51cc426dc4061a3c1600bd52815596f86db009f
treeedb6602099bbb74a8f0fac815765817c2bfaed81
parent20728f8fe2b44dad6a99bf334704a95cabe72e71
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