freebsd-dev/sys/dev/mlx5/mlx5_core
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
..
eswitch.h mlx5: Read number of VF ports from the SR-IOV cap. 2020-03-18 22:43:39 +00:00
flow_table.h mlx5: Restore eswitch management code from attic. 2020-03-18 22:30:56 +00:00
fs_core.h
mlx5_alloc.c
mlx5_cmd.c Add basic support for TCP/IP based hardware TLS offload to mlx5core. 2019-12-05 15:16:19 +00:00
mlx5_core.h Bump driver version for mlx5core, mlx5en(4) and mlx5ib(4). 2019-10-02 11:15:35 +00:00
mlx5_cq.c Widen EPOCH(9) usage in mlx5en(4). 2020-01-30 12:35:13 +00:00
mlx5_diagnostics.c Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl 2019-10-02 10:14:55 +00:00
mlx5_eq.c mlx5_core: remove unneccessary LFENCE instruction. 2020-07-02 10:44:45 +00:00
mlx5_eswitch.c mlx5: Read number of VF ports from the SR-IOV cap. 2020-03-18 22:43:39 +00:00
mlx5_fs_cmd.c
mlx5_fs_tree.c Unify prints in mlx5core. 2019-10-02 09:48:01 +00:00
mlx5_fw.c Update the TLS capability bit after recent PRM changes in mlx5en(4). 2020-05-25 12:31:48 +00:00
mlx5_fwdump.c mlx5: Do not try to enable fwdumps if scan space did not responded. 2019-12-02 14:22:55 +00:00
mlx5_health.c Return an error from ioctl(MLX5_FW_RESET) if reset was rejected in mlx5core. 2019-10-02 10:24:13 +00:00
mlx5_mad.c
mlx5_main.c Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
mlx5_mcg.c
mlx5_mpfs.c mlx5: Integrate eswitch and mpfs management code. 2020-03-18 22:33:39 +00:00
mlx5_mr.c
mlx5_pagealloc.c
mlx5_pd.c
mlx5_port.c Import Linux code to query/set buffer state in mlx5en(4). 2019-10-02 10:05:34 +00:00
mlx5_qp.c
mlx5_rl.c Sync with Linux packet pacing enhancements in mlx5en(4). 2020-05-26 07:41:46 +00:00
mlx5_srq.c
mlx5_tls.c Add basic support for TCP/IP based hardware TLS offload to mlx5core. 2019-12-05 15:16:19 +00:00
mlx5_transobj.c
mlx5_uar.c
mlx5_vport.c
mlx5_vsc.c Randomize the delay when waiting for VSC flag in mlx5core. 2019-10-02 10:59:44 +00:00
mlx5_wq.c
transobj.h
wq.h