freebsd-dev/sys/dev/mlx5/mlx5_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_hw_tls.h Implement hardware TLS via send tags for mlx5en(4), which is supported by 2019-12-06 15:36:32 +00:00
en_rl.h Implement hardware TLS via send tags for mlx5en(4), which is supported by 2019-12-06 15:36:32 +00:00
en.h Use const keyword when parsing the TCP/IP header in the fast path in mlx5en(4). 2020-06-11 09:36:37 +00:00
mlx5_en_dim.c Add support for Dynamic Interrupt Moderation, DIM, in mlx5en(4). 2019-05-08 10:23:33 +00:00
mlx5_en_ethtool.c Add support for reading temperature in mlx5en(4). 2020-04-27 14:35:39 +00:00
mlx5_en_flow_table.c mlx5: Integrate eswitch and mpfs management code. 2020-03-18 22:33:39 +00:00
mlx5_en_hw_tls.c Fix HW TLS offload regression issue after r359919, in mlx5en(4). 2020-06-17 11:14:54 +00:00
mlx5_en_main.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
mlx5_en_port_buffer.c Add print to show user a reason for rejecting buffer size change in mlx5en(4). 2019-10-02 11:05:05 +00:00
mlx5_en_rl.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
mlx5_en_rx.c Remove non-functional MLX5E_MAX_RX_SEGS macro in mlx5en(4). 2019-05-08 11:06:42 +00:00
mlx5_en_tx.c Make sure packets generated by raw IP code is let through by mlx5en(4). 2020-06-11 09:41:54 +00:00
mlx5_en_txrx.c Unify prints in mlx5en(4). 2019-10-02 09:49:44 +00:00
port_buffer.h Import Linux code to query/set buffer state in mlx5en(4). 2019-10-02 10:05:34 +00:00