Page MenuHomeFreeBSD

ixl(4): Fix queue MSI and legacy IRQ rearming
ClosedPublic

Authored by kgalazka on Jul 15 2025, 5:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 6:27 AM
Unknown Object (File)
Fri, Oct 10, 6:27 AM
Unknown Object (File)
Fri, Oct 10, 6:26 AM
Unknown Object (File)
Fri, Oct 10, 12:43 AM
Unknown Object (File)
Thu, Oct 9, 8:51 PM
Unknown Object (File)
Wed, Oct 8, 9:07 PM
Unknown Object (File)
Thu, Oct 2, 11:40 PM
Unknown Object (File)
Thu, Oct 2, 8:59 PM

Details

Summary

When MSI or legacy interrupt is used driver controls wheter
queues can trigger an interrupt with the Interrupt Linked List.
While processing traffic first index of the list is set to EOL
value to stop queues from triggering interrupts. This index was
not reset to the correct value when driver attempted to re-enable
interrupts from queues, what prevented driver from processing any
traffic. Fix that by setting correct first index in the
ixl_if_enable_intr function.

While at that fix the comments style and make ixl_if_enable_intr
and ixl_if_disable_intr more consistent.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka@intel.com>

PR: 288077
Suggested by: Mike Belanger <mibelanger@qnx.com>
Sponsored by: Intel Corporation
MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Aug 19 2025, 4:55 AM