diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-06-30 13:18:54 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-06 20:11:24 -0300 |
commit | 28ad5f65c314ffdd5888d6afa61772d3032a332c (patch) | |
tree | e13e54af2fe48dc9a9d5126e1b722a2fff88897c /drivers/infiniband/core/device.c | |
parent | RDMA/core: Create and destroy counters in the ib_core (diff) | |
download | linux-dev-28ad5f65c314ffdd5888d6afa61772d3032a332c.tar.xz linux-dev-28ad5f65c314ffdd5888d6afa61772d3032a332c.zip |
RDMA: Move XRCD to be under ib_core responsibility
Update the code to allocate and free ib_xrcd structure in the
ib_core instead of inside drivers.
Link: https://lore.kernel.org/r/20200630101855.368895-4-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/device.c')
-rw-r--r-- | drivers/infiniband/core/device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c index 0a259f475e89..b2d617e599a1 100644 --- a/drivers/infiniband/core/device.c +++ b/drivers/infiniband/core/device.c @@ -2692,6 +2692,7 @@ void ib_set_device_ops(struct ib_device *dev, const struct ib_device_ops *ops) SET_OBJ_SIZE(dev_ops, ib_pd); SET_OBJ_SIZE(dev_ops, ib_srq); SET_OBJ_SIZE(dev_ops, ib_ucontext); + SET_OBJ_SIZE(dev_ops, ib_xrcd); } EXPORT_SYMBOL(ib_set_device_ops); |