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 mlx5fpga: Initial code import. 2018-12-05 14:11:20 +00:00
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 Add MLX5_FPGA_RELOAD IOCTL(2) to mlx5fpga. 2019-05-08 10:25:14 +00:00
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 mlx5fpga: Initial code import. 2018-12-05 14:11:20 +00:00
cmd.h Remove duplicate prototypes. 2018-03-08 15:37:09 +00:00
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 Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl 2019-10-02 10:14:55 +00:00
doorbell.h Update version information for the mlx5 and mlx5en(4) modules. 2018-07-18 10:12:53 +00:00
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 Update version information for the mlx5 and mlx5en(4) modules. 2018-07-18 10:12:53 +00:00
mlx5io.h Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl 2019-10-02 10:14:55 +00:00
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 Fix compilation issue with mlx5core and sparc64 (gcc48): 2019-12-06 16:20:22 +00:00
srq.h Update version information for the mlx5 and mlx5en(4) modules. 2018-07-18 10:12:53 +00:00
tls.h Add basic support for TCP/IP based hardware TLS offload to mlx5core. 2019-12-05 15:16:19 +00:00
vport.h mlx5en: Fix for inlining issues in transmit path 2018-12-05 14:21:28 +00:00