HomeFreeBSD

Fix potential deadlock in command mode change in mlx5core.

Description

Fix potential deadlock in command mode change in mlx5core.

Call command completion handler in case of timeout when working in
interrupts mode. Avoid flushing the commands workqueue after acquiring
the semaphores to prevent a potential deadlock.

linux commit commit 9cba4ebcf374c3772f6eb61f2d065294b2451b49

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS330598: Use a macro in mlx5_command_str() instead of copying OP name.
Branches
Unknown
Tags
Unknown