freebsd-dev/sys/ofed/drivers/infiniband/core
Hans Petter Selasky 44a1b2f07b Fix for referencing file via its vnode in ibore.
Use the native vnode lookup functions, instead of going via the LinuxKPI,
because the file referenced is typically created outside the LinuxKPI, and
the LinuxKPI's fdget() can only resolve file descriptor numbers which
were created by itself.

The vnode pointer is used as an identifier to identify XRCD handles which
are sharing resources.

This patch fixes the so-called XRCD support in ibcore for FreeBSD.
Refer to ibv_open_xrcd(3) for more information how the file descriptor
argument is used.

Reviewed by:	kib@
MFC after:	1 week
Sponsored by:	Mellanox Technologies // NVIDIA Networking
2020-11-02 10:44:29 +00:00
..
agent.h
cm_msgs.h
core_priv.h Replace rdma_is_upper_dev_rcu() with rdma_vlan_dev_real_dev() in ibcore. 2019-10-16 08:55:29 +00:00
ib_addr.c infiniband: Appease Coverty 2020-08-31 16:17:28 +00:00
ib_agent.c
ib_cache.c
ib_cm.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_cma.c infiniband: Appease Coverty 2020-08-31 16:17:28 +00:00
ib_cq.c
ib_device.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_fmr_pool.c
ib_iwcm.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_iwpm_msg.c
ib_iwpm_util.c
ib_mad_rmpp.c
ib_mad.c
ib_multicast.c
ib_packer.c
ib_roce_gid_mgmt.c Include eventhandler.h in more compilation units 2019-05-21 01:18:43 +00:00
ib_sa_query.c infiniband: Appease Coverty 2020-08-31 16:17:28 +00:00
ib_smi.c
ib_sysfs.c
ib_ucm.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_ucma.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_ud_header.c
ib_umem_odp.c
ib_umem_rbtree.c
ib_umem.c
ib_user_mad.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_uverbs_cmd.c Fix for referencing file via its vnode in ibore. 2020-11-02 10:44:29 +00:00
ib_uverbs_main.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
ib_uverbs_marshall.c
ib_verbs.c Fix prio vs. nonprio tagged traffic in RDMACM 2019-06-04 06:21:31 +00:00
iwcm.h
iwpm_util.h
mad_priv.h
mad_rmpp.h
opa_smi.h
sa.h
smi.h
uverbs.h