linux/drivers/infiniband
Parav Pandit ee848721f6 IB/umad: Avoid additional device reference during open()/close()
ib_umad_init_port_dev() holds the reference of a ib_umad_device instance.
ib_umad_device contains standard core device and cdev.  cdev holds the
reference of its parent core device.  file ops holds the reference to cdev
using core kernel.

Therefore, there is no need to hold additional reference while opening
umad related char devices.

While at it, add comments to bring clarity on releasing references to
ib_umd_device.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-23 11:37:05 -07:00
..
core IB/umad: Avoid additional device reference during open()/close() 2019-01-23 11:37:05 -07:00
hw IB/mlx5: Don't override existing ip_protocol 2019-01-21 20:10:06 -07:00
sw IB/rxe: Remove unnecessary rxe variable 2019-01-21 16:46:08 -07:00
ulp IB/iser: Pass the correct number of entries for dma mapped SGL 2019-01-18 14:12:24 -07:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00