]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r352991 and 353000:
authorHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Oct 2019 10:20:23 +0000 (10:20 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Oct 2019 10:20:23 +0000 (10:20 +0000)
commit1bce60604fe084b48f358ff42b65c7e53eb1662d
tree213bf49437319b41363adae0b4c4b1d600b76d81
parent456709564fd5ae0c04bcdcb9e8ad194ef267625c
MFC r352991 and 353000:
Wait for FW readiness before initializing command interface in mlx5core.

Before attempting to initialize the command interface we must wait till
the fw_initializing bit is clear.

If we fail to meet this condition the hardware will drop our
configuration, specifically the descriptors page address.  This scenario
can happen when the firmware is still executing an FLR flow and did not
finish yet so the driver needs to wait for that to finish.

Linux commits:
6c780a0267b8
b8a92577f4be.

Sponsored by: Mellanox Technologies
sys/dev/mlx5/device.h
sys/dev/mlx5/mlx5_core/mlx5_main.c