diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2020-03-10 10:22:29 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-03-13 11:08:00 -0300 |
commit | f743ff3b37dfc8e8cf4a32d4254cddd5f0f1add8 (patch) | |
tree | 35b67ff00760c5442fb33691cdf308f0bcda1c99 /drivers/infiniband/hw/hfi1/tid_rdma.h | |
parent | a3cfdd3928113012d0f2c5353277f4e27878a663 (diff) |
RDMA/mlx5: Replace spinlock protected write with atomic var
mkey variant calculation was spinlock protected to make it atomic, replace
that with one atomic variable.
Link: https://lore.kernel.org/r/20200310082238.239865-4-leon@kernel.org
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/tid_rdma.h')
0 files changed, 0 insertions, 0 deletions