Page MenuHomeFreeBSD

ixl(4): Fix potential driver interrupt setup issues and startup crash.
ClosedPublic

Authored by erj on Feb 5 2016, 10:54 PM.
Tags
None
Referenced Files
F169747590: D5205.id13071.diff
Wed, Sep 2, 11:03 AM
F169708292: D5205.id13071.diff
Wed, Sep 2, 8:37 AM
Unknown Object (File)
Tue, Sep 1, 2:12 PM
Unknown Object (File)
Tue, Sep 1, 8:13 AM
Unknown Object (File)
Mon, Aug 31, 10:58 AM
Unknown Object (File)
Sun, Aug 30, 1:58 PM
Unknown Object (File)
Sun, Aug 30, 4:48 AM
Unknown Object (File)
Thu, Aug 27, 1:18 AM

Details

Summary
  • Limit queue autoconfiguration to 8 queues to prevent the driver from requesting a large number of MSI-X vectors at boot.
  • Fix potential kernel panic when loading the driver and the driver cannot setup all requested MSIX vectors. Instead, attach() should exit with a failure code.
    • Move taskqueue setup to later in attach() to prevent having to free taskqueues if another error later in attach() occurs.
Test Plan

-Reboot/attach/init tests using default MSIX vectors.
-Reboot/attach/init tests using user-defined MSIX vectors (not to exceed 184).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2404
Build 2420: arc lint + arc unit

Event Timeline

erj retitled this revision from to ixl(4): Fix potential driver interrupt setup issues and startup crash..
erj updated this object.
erj added a subscriber: jeffrey.e.pieper_intel.com.
This revision is now accepted and ready to land.Feb 10 2016, 6:55 PM
erj added a reviewer: smh.