linux/drivers/infiniband/hw
Parav Pandit 60f1fc2049 IB/mlx4: Refer to the device kobject instead of ports_parent
iov sysfs tree is created under ib device at
/sys/class/infiniband/mlx4_0/iov.
And,
ibdev->ports_parent->parent = &ibdev->dev.

Therefore, refer to device's kobject directly instead of
indirect access to it.

Additionally, iov entries are created under device kobject and deleted
before device is removed. There is no need to hold additional reference
to device kobject in provider driver.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-10-16 14:09:44 -04:00
..
bnxt_re RDMA/bnxt_re: Avoid resource leak in case the NQ registration fails 2018-10-16 00:03:51 -06:00
cxgb3 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
cxgb4 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
hfi1 Merge branch 'for-rc' into rdma.git for-next 2018-10-16 00:01:02 -06:00
hns RDMA/hns: Add FRMR support for hip08 2018-10-16 00:17:08 -06:00
i40iw RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
mlx4 IB/mlx4: Refer to the device kobject instead of ports_parent 2018-10-16 14:09:44 -04:00
mlx5 IB/mlx5: Fix MR cache initialization 2018-10-16 08:30:37 -06:00
mthca RDMA: Remove unused parameter from ib_modify_qp_is_ok() 2018-10-03 16:05:46 -06:00
nes RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
ocrdma RDMA: Remove unused parameter from ib_modify_qp_is_ok() 2018-10-03 16:05:46 -06:00
qedr RDMA: Remove unused parameter from ib_modify_qp_is_ok() 2018-10-03 16:05:46 -06:00
qib IB/{hfi1, qib, rdmavt}: Move ruc_loopback to rdmavt 2018-10-03 16:38:28 -06:00
usnic RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
vmw_pvrdma RDMA: Remove unused parameter from ib_modify_qp_is_ok() 2018-10-03 16:05:46 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00