opnsense-src/sys/dev/mlx4/mlx4_ib
Hans Petter Selasky 1866c98e64 Infiniband clients must be attached and detached in a specific order in ibcore.
Currently the linking order of the infiniband, IB, modules decide in which
order the clients are attached and detached. For example one IB client may
use resources from another IB client. This can lead to a potential deadlock
at shutdown. For example if the ipoib is unregistered after the ib_multicast
client is detached, then if ipoib is using multicast addresses a deadlock may
happen, because ib_multicast will wait for all its resources to be freed before
returning from the remove method.

Fix this by using module_xxx_order() instead of module_xxx().

Differential Revision:	https://reviews.freebsd.org/D23973
MFC after:		1 week
Sponsored by:		Mellanox Technologies
2020-07-06 08:50:11 +00:00
..
mlx4_ib.h Optimize ibcore RoCE address handle creation from user-space. 2018-03-05 14:34:52 +00:00
mlx4_ib_ah.c Add support for prio-tagged traffic for RDMA in ibcore. 2018-07-17 09:11:53 +00:00
mlx4_ib_alias_GUID.c Update mlx4ib(4) to Linux 4.9. 2017-11-13 10:49:18 +00:00
mlx4_ib_cm.c Update mlx4ib(4) to Linux 4.9. 2017-11-13 10:49:18 +00:00
mlx4_ib_cq.c Make sure to error out when arming the CQ fails in mlx4ib and mlx5ib. 2019-05-08 10:33:09 +00:00
mlx4_ib_doorbell.c
mlx4_ib_mad.c Update mlx4ib(4) to Linux 4.9. 2017-11-13 10:49:18 +00:00
mlx4_ib_main.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
mlx4_ib_mcg.c Update mlx4ib(4) to Linux 4.9. 2017-11-13 10:49:18 +00:00
mlx4_ib_mr.c Update mlx4ib(4) to Linux 4.9. 2017-11-13 10:49:18 +00:00
mlx4_ib_qp.c sys/dev/mlx[45]: fix uses of 1 << 31 2018-01-12 06:36:44 +00:00
mlx4_ib_srq.c Update mlx4ib(4) to Linux 4.9. 2017-11-13 10:49:18 +00:00
mlx4_ib_sysfs.c Update mlx4ib(4) to Linux 4.9. 2017-11-13 10:49:18 +00:00
mlx4_ib_wc.c
wc.h