opnsense-src/sys/ofed/include/rdma
Bjoern A. Zeeb 7069b4c6a4 LinuxKPI/OFED: (re)move inetdevice.h implementation
The two functions in linux/inetdevice.h are highly FreeBSD/ifnet
specific.  This is a result of struct net_device being mapped to
struct ifnet.

The only known consumer of these functions are two files in the
ofed/infiniband code.

As a first step of cleaning up copy linux/inetdevice.h to
rdma/ib_addr_freebsd.h. (It stayed a separate file to preserve
copyright and license of the original file; otherwise it could be
merged into ib_addr.h where more EPOCH/vnet/.. are already used).

Slightly rename the function to not conflict with LinuxKPI
in the future.

Remove the three last, now unneeded includes of inetdevice.h and
zap linux/inetdevice.h to an empty header file with only the forward
include to netdevice.h remaining.

Sponsored-by:	The FreeBSD Foundation
MFC-after:	2 weeks
Reviewed-by:	hselasky, kib
X-D-R:		D29366 (extracted as further cleanup)
Differential Revision:	https://reviews.freebsd.org/D29434
2021-03-30 14:40:46 +00:00
..
ib.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_addr.h LinuxKPI/OFED: (re)move inetdevice.h implementation 2021-03-30 14:40:46 +00:00
ib_addr_freebsd.h LinuxKPI/OFED: (re)move inetdevice.h implementation 2021-03-30 14:40:46 +00:00
ib_cache.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_cm.h Introduce and use sgid_index in CM requests in ibcore. 2018-09-09 07:20:15 +00:00
ib_fmr_pool.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_hdrs.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_mad.h OFED: Fix ib_mad.h ib_user_mad.h include to match new uapi path 2019-08-17 03:09:03 +00:00
ib_marshall.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_pack.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_pma.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_sa.h Only NULL check the VNET pointer when VIMAGE is enabled in ibcore. 2018-07-31 11:23:44 +00:00
ib_smi.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_umem.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_umem_odp.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
ib_verbs.h Prevent potential underflow in ibcore. 2019-11-15 11:46:53 +00:00
iw_cm.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
iw_portmap.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
opa_port_info.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
opa_smi.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
rdma_cm.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
rdma_cm_ib.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
rdma_sdp.h OFED: Fix accidental double-copy of rdma_sdp.h in r351176 2019-08-18 04:19:41 +00:00
rdma_vt.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
rdmavt_cq.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
rdmavt_mr.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
rdmavt_qp.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00