]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Cut down single member ib_cache structure
authorParav Pandit <parav@mellanox.com>
Thu, 12 Dec 2019 11:30:23 +0000 (13:30 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 8 Jan 2020 00:18:11 +0000 (20:18 -0400)
commit006c8b474f524ff44f20eba648965987becffe5c
treee85457ce9c6efa3642c710fa4abca816842cf351
parent0958c251157542c86576dc1d876d39f30609fd37
IB/core: Cut down single member ib_cache structure

Given that ib_cache structure has only single member now, merge the cache
lock directly in the ib_device.

Link: https://lore.kernel.org/r/20191212113024.336702-4-leon@kernel.org
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cache.c
include/rdma/ib_verbs.h