HomeFreeBSD

Unmask all IO irqs after driver state is set as running

Description

Unmask all IO irqs after driver state is set as running

If driver left MSI-x handlling routine because interface was put down,
it is not unmasking IRQs, so any requesting interrupt will be awaiting
for unmasking.

On ena_up() routine all interrupts are being unmasked and any awaiting
interrupt will be handled right away.

If handler was executed before driver state was set as running, handling
routine is being ended immediately, leaving IO irqs for given queue
masked.

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon.com Inc.

Details

Committed
zbbJul 4 2017, 12:02 AM
Parents
rS320627: Hold the PCI device list lock when removing an element.
Branches
Unknown
Tags
Unknown