freebsd-skq/sys/ofed/drivers/infiniband/core
glebius 6d8cc191f9 Mechanical cleanup of epoch(9) usage in network stack.
- Remove macros that covertly create epoch_tracker on thread stack. Such
  macros a quite unsafe, e.g. will produce a buggy code if same macro is
  used in embedded scopes. Explicitly declare epoch_tracker always.

- Unmask interface list IFNET_RLOCK_NOSLEEP(), interface address list
  IF_ADDR_RLOCK() and interface AF specific data IF_AFDATA_RLOCK() read
  locking macros to what they actually are - the net_epoch.
  Keeping them as is is very misleading. They all are named FOO_RLOCK(),
  while they no longer have lock semantics. Now they allow recursion and
  what's more important they now no longer guarantee protection against
  their companion WLOCK macros.
  Note: INP_HASH_RLOCK() has same problems, but not touched by this commit.

This is non functional mechanical change. The only functionally changed
functions are ni6_addrs() and ni6_store_addrs(), where we no longer enter
epoch recursively.

Discussed with:	jtl, gallatin
2019-01-09 01:11:19 +00:00
..
agent.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
cm_msgs.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
core_priv.h Optimize ibcore RoCE address handle creation from user-space. 2018-03-05 14:34:52 +00:00
ib_addr.c ibcore: Fix clearing of bound device interface. 2018-12-05 13:25:13 +00:00
ib_agent.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_cache.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_cm.c ibcore: Fix sleeping in atomic when RoCE is used 2018-12-05 13:24:12 +00:00
ib_cma.c ibcore: ip6_dev_find() needs to know the scope ID. 2018-12-05 13:24:43 +00:00
ib_cq.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_device.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_fmr_pool.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_iwcm.c ibcore: Discard unused error codes. 2018-12-05 13:18:50 +00:00
ib_iwpm_msg.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_iwpm_util.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_mad_rmpp.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_mad.c ibcore: Fix an array index check 2018-12-05 13:20:51 +00:00
ib_multicast.c ibcore: Check ib_find_pkey() return value. 2018-12-05 13:20:22 +00:00
ib_packer.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_roce_gid_mgmt.c Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
ib_sa_query.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_smi.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_sysfs.c ibcore: Add support for IB_SPEED_HDR in sysfs rate printout. 2018-12-05 13:19:52 +00:00
ib_ucm.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_ucma.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_ud_header.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_umem_odp.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_umem_rbtree.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_umem.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_user_mad.c ibcore: Always check return value from ib_init_ah_from_wc(). 2018-12-05 13:22:07 +00:00
ib_uverbs_cmd.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_uverbs_main.c Use __FBSDID() for RCS tags in ibcore. 2018-07-17 09:47:14 +00:00
ib_uverbs_marshall.c Introduce and use sgid_index in CM requests in ibcore. 2018-09-09 07:20:15 +00:00
ib_verbs.c ibcore: Make sure GID index variable gets initialized. 2018-12-05 13:18:20 +00:00
iwcm.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
iwpm_util.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
mad_priv.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
mad_rmpp.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
sa.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
smi.h Add missing FreeBSD tags and SVN properties to ibcore. 2018-03-05 11:49:45 +00:00
uverbs.h Add lock to multicast handlers in ibcore. 2018-07-17 08:52:29 +00:00