aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/rdma_core.h
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2018-12-10 21:09:30 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-12-11 15:14:09 -0700
commit521ed0d92ab0db3edd17a5f4716b7f698f4fce61 (patch)
tree1854ac8b981f9041d1e5b193a2d2b01178172511 /drivers/infiniband/core/rdma_core.h
parentIB/mlx4: Remove unneeded NULL check (diff)
downloadlinux-dev-521ed0d92ab0db3edd17a5f4716b7f698f4fce61.tar.xz
linux-dev-521ed0d92ab0db3edd17a5f4716b7f698f4fce61.zip
RDMA/core: Introduce ib_device_ops
This change introduces the ib_device_ops structure that defines all the InfiniBand device operations in one place, so the code will be more readable and clean, unlike today when the ops are mixed with ib_device data members. The providers will need to define the supported operations and assign them using ib_set_device_ops(), that will also make the providers code more readable and clean. Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/rdma_core.h')
0 files changed, 0 insertions, 0 deletions