]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: vxlan: Use RCU for vxlan table lookup
authorSaeed Mahameed <saeedm@mellanox.com>
Sat, 16 May 2020 00:09:05 +0000 (17:09 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 25 Jun 2020 19:41:43 +0000 (12:41 -0700)
commit3b4a6b6626bbfb05337fb2c73e9f5dc9c50ebd8e
treef746dbe3adcff7fcaad4d9d40ced79f8214896e3
parent564714de044ff277edb1a7c417b5c396f11f83e9
net/mlx5e: vxlan: Use RCU for vxlan table lookup

Remove the spinlock protecting the vxlan table and use RCU instead.
This will improve performance as it will eliminate contention on data
path cores.

Fixes: 4956da906c0d ("net/mlx5e: Add netdev support for VXLAN tunneling")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c