diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2018-12-10 21:09:30 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-12-11 15:14:09 -0700 |
commit | 521ed0d92ab0db3edd17a5f4716b7f698f4fce61 (patch) | |
tree | 1854ac8b981f9041d1e5b193a2d2b01178172511 /include/rdma/rdma_vt.h | |
parent | 2dd8e44cb4f3893f26ca29e9593450f289a0b48a (diff) | |
download | linux-stable-521ed0d92ab0db3edd17a5f4716b7f698f4fce61.tar.gz linux-stable-521ed0d92ab0db3edd17a5f4716b7f698f4fce61.tar.bz2 linux-stable-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 'include/rdma/rdma_vt.h')
0 files changed, 0 insertions, 0 deletions