]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r347319:
authorhselasky <hselasky@FreeBSD.org>
Thu, 16 May 2019 18:24:51 +0000 (18:24 +0000)
committerhselasky <hselasky@FreeBSD.org>
Thu, 16 May 2019 18:24:51 +0000 (18:24 +0000)
commit110347fb33f55a271fc688170db493a768ba1640
tree326ea9f94aaf26005f9c027416b3c12bd4899b22
parent888ef7bceec61327f54252d8ff0abd6bee93dd7f
MFC r347319:
Flush command workqueue when command completion is triggered in mlx5core.

Avoid race for command completion when triggering a command completions event.
Serialize operation by queueing all commands on the same work queue.
This can happen when healthcare triggers.

Sponsored by: Mellanox Technologies
sys/dev/mlx5/driver.h
sys/dev/mlx5/mlx5_core/mlx5_health.c