freebsd-dev/sys/dev/mlx4/mlx4_en
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
..
en_port.h
en.h Split out a more generic debugnet(4) from netdump(4) 2019-10-17 16:23:03 +00:00
mlx4_en_cq.c mlx4en: Remove the DRBR and associated logic in the transmit path. 2018-12-05 13:31:45 +00:00
mlx4_en_main.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
mlx4_en_netdev.c Allow multicast packets to be received in promiscious mode, in mlx4en(4). 2020-06-17 11:12:10 +00:00
mlx4_en_port.c mlx4en: Remove duplicate statistics variable assignment. 2018-12-05 13:38:35 +00:00
mlx4_en_resources.c
mlx4_en_rx.c Widen EPOCH(9) usage in mlx4en(4). 2020-01-31 10:41:47 +00:00
mlx4_en_tx.c mlx4en: Add support for netdump. 2018-12-05 13:32:15 +00:00