]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net/mlx4_core: Use RCU to perform radix tree lookup for SRQ
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 20 Sep 2016 11:39:41 +0000 (14:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 01:52:43 +0000 (21:52 -0400)
commit30353bfc43a1602c020f31d95cf27182ffd23824
tree9f5c75e1f50c2da61fd77d570d84123931be6b84
parent57c970c2e8d8772237294bb8a6a25a205448fd96
net/mlx4_core: Use RCU to perform radix tree lookup for SRQ

Radix tree lookup can be performed without locking.

Fixes: 225c7b1feef1 ("IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Suggested-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/srq.c