freebsd-dev/sys/dev/mlx5
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
..
mlx5_accel
mlx5_core Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
mlx5_en Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
mlx5_fpga
mlx5_fpga_tools Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
mlx5_ib Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
mlx5_lib
cmd.h
cq.h Widen EPOCH(9) usage in mlx5en(4). 2020-01-30 12:35:13 +00:00
device.h mlx5_core: add more port module event types to decode. 2020-05-20 11:20:45 +00:00
diagnostics.h
doorbell.h
driver.h mlx5: Restore eswitch management code from attic. 2020-03-18 22:30:56 +00:00
fs.h
mlx5_ifc.h Sync with Linux packet pacing enhancements in mlx5en(4). 2020-05-26 07:41:46 +00:00
mlx5_rdma_if.h
mlx5io.h
mpfs.h mlx5: Integrate eswitch and mpfs management code. 2020-03-18 22:33:39 +00:00
port.h mlx5en: Support 50GBase-KR4 media type in mlx5en driver. 2020-03-04 17:13:35 +00:00
qp.h
srq.h
tls.h
vport.h