]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/core: Simplify restrack interface
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 30 Jan 2019 10:48:58 +0000 (12:48 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 31 Jan 2019 04:15:47 +0000 (21:15 -0700)
commit0ad699c0edc97a864177679dd67f2ccd73b07cb7
tree6c089d7e15abb819b26d60543ddf752794c39395
parent659067b0b5c36efa02ebae5e30d09d9303039029
RDMA/core: Simplify restrack interface

In the current implementation, we have one restrack root per-device and
all users are simply providing it directly. Let's simplify the interface
and have callers provide the ib_device and internally access the
restrack_root.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/device.c
drivers/infiniband/core/nldev.c
drivers/infiniband/core/restrack.c
include/rdma/restrack.h