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>
Showing
- drivers/infiniband/core/device.c 1 addition, 0 deletionsdrivers/infiniband/core/device.c
- drivers/infiniband/core/nldev.c 18 additions, 10 deletionsdrivers/infiniband/core/nldev.c
- drivers/infiniband/core/restrack.c 0 additions, 7 deletionsdrivers/infiniband/core/restrack.c
- drivers/infiniband/hw/cxgb4/provider.c 1 addition, 1 deletiondrivers/infiniband/hw/cxgb4/provider.c
- include/rdma/ib_verbs.h 5 additions, 0 deletionsinclude/rdma/ib_verbs.h
- include/rdma/restrack.h 0 additions, 7 deletionsinclude/rdma/restrack.h
Loading
Please register or sign in to comment