HomeFreeBSD

Improve support for switching to and from command polling mode in mlx4core.

Description

Improve support for switching to and from command polling mode in mlx4core.

Make sure the enter and leave polling routines can be called multiple times
with same setting. Ignore setting polling or event mode twice. This fixes a
deadlock during shutdown if polling mode was already selected.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS345009: Fix a scribbler in the PMS driver.
Branches
Unknown
Tags
Unknown