]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r331821:
authorhselasky <hselasky@FreeBSD.org>
Tue, 3 Apr 2018 09:27:05 +0000 (09:27 +0000)
committerhselasky <hselasky@FreeBSD.org>
Tue, 3 Apr 2018 09:27:05 +0000 (09:27 +0000)
commit93579f1f02cb36974186906150379ee8178d6ab3
tree4caf3b5f80059fad14028bff9a72bd2288506fb9
parent214c633e33fbb04ff2da760f40dc3cd2a3ad0f85
MFC r331821:
Prepare for FW dump in error state in mlx5core.

- Move firmware dump prep and cleanup to init_one() and remove_one() so that
the init and cleanup will happen only upon driver reload.
- Add some prints to indicate firmware dump.

Submitted by: slavash@
Sponsored by: Mellanox Technologies
sys/dev/mlx5/mlx5_core/mlx5_fwdump.c
sys/dev/mlx5/mlx5_core/mlx5_main.c