Jason Gunthorpe
d79af7242b
RDMA/device: Expose ib_device_try_get(()
...
It turns out future patches need this capability quite widely now, not
just for netlink, so provide two global functions to manage the
registration lock refcount.
This also moves the point the lock becomes 1 to within
ib_register_device() so that the semantics of the public API are very sane
and clear. Calling ib_device_try_get() will fail on devices that are only
allocated but not yet registered.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
2019-01-21 14:33:08 -07:00
..
ib.h
RDMA/core: Return bool instead of int
2018-07-30 20:49:04 -06:00
ib_addr.h
RDMA/core: Annotate timeout as unsigned long
2018-10-16 13:34:01 -04:00
ib_cache.h
RDMA/smc: Replace ib_query_gid with rdma_get_gid_attr
2018-08-17 16:45:51 -06:00
ib_cm.h
RDMA/core: Annotate timeout as unsigned long
2018-10-16 13:34:01 -04:00
ib_fmr_pool.h
IB/core: Make function ib_fmr_pool_unmap return void
2018-11-21 16:13:02 -07:00
ib_hdrs.h
ib_mad.h
IB/core: Add CapabilityMask2 to port attributes
2018-12-11 13:06:20 -07:00
ib_marshall.h
ib_pack.h
ib_pma.h
ib_sa.h
RDMA/core: Annotate timeout as unsigned long
2018-10-16 13:34:01 -04:00
ib_smi.h
ib_umem.h
RDMA/umem: Get rid of struct ib_umem.odp_data
2018-09-21 11:54:46 -04:00
ib_umem_odp.h
RDMA/umem: Avoid synchronize_srcu in the ODP MR destruction path
2018-09-21 11:58:36 -04:00
ib_verbs.h
RDMA/device: Expose ib_device_try_get(()
2019-01-21 14:33:08 -07:00
iw_cm.h
iw_portmap.h
mr_pool.h
opa_addr.h
include/rdma/opa_addr.h: Fix an endianness issue
2018-07-03 14:11:34 -06:00
opa_port_info.h
opa_smi.h
opa_vnic.h
rdma_cm.h
RDMA/core: Annotate timeout as unsigned long
2018-10-16 13:34:01 -04:00
rdma_cm_ib.h
rdma_netlink.h
RDMA/netlink: Simplify netlink listener existence check
2018-10-03 16:06:07 -06:00
rdma_vt.h
IB/hfi1: Allow the driver to initialize QP priv struct
2018-12-06 19:59:47 -07:00
rdmavt_cq.h
IB/{hfi1, rdmavt, qib}: Implement CQ completion vector support
2018-05-09 15:53:30 -04:00
rdmavt_mr.h
rdmavt_qp.h
IB/{hfi1, qib, rdmavt}: Move ruc_loopback to rdmavt
2018-10-03 16:38:28 -06:00
restrack.h
RDMA/restrack: Resource-tracker should not use uobject pointers
2018-12-18 15:38:26 -07:00
rw.h
uverbs_ioctl.h
IB/core: uverbs copy to struct or zero helper
2018-12-20 15:18:18 -07:00
uverbs_named_ioctl.h
RDMA/uverbs: Fix typo in string concatenation macro
2018-12-06 21:11:06 -07:00
uverbs_std_types.h
IB/core: Enable getting an object type from a given uobject
2018-12-04 13:46:41 -05:00
uverbs_types.h
IB/uverbs: Use uverbs_api to manage the object type inside the uobject
2018-08-10 16:06:24 -06:00