]> 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)
commit7ae645e0dd944252dfe6f5ca8862dda9caf81bd2
treef746dbe3adcff7fcaad4d9d40ced79f8214896e3
parentc1193be6c1094c866e96c97c04574c5ebf4a588a
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: 225737a81ece ("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