]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/core: Use the ops infrastructure to keep all callbacks in one place
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 30 Jan 2019 10:49:02 +0000 (12:49 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 31 Jan 2019 04:34:21 +0000 (21:34 -0700)
commit02da37509705d3ba6a58fe4799a0caf6b4baecb0
treedd9de824dfaf3976da03df5aa266447834b8e849
parent5e458d3f899ef6158d59b6909b8df9348868ccc4
RDMA/core: Use the ops infrastructure to keep all callbacks in one place

As preparation to hide rdma_restrack_root, refactor the code to use the
ops structure instead of a special callback which is hidden in
rdma_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
drivers/infiniband/hw/cxgb4/provider.c
include/rdma/ib_verbs.h
include/rdma/restrack.h