Page MenuHomeFreeBSD

ix, ixv: Read msix_bar from device configuration
ClosedPublic

Authored by piotr.pietruszewski_intel.com on Sep 6 2019, 12:40 PM.
Tags
None
Referenced Files
F139877894: D21547.diff
Wed, Dec 17, 12:13 PM
Unknown Object (File)
Mon, Dec 15, 1:05 AM
Unknown Object (File)
Sun, Dec 7, 11:40 PM
Unknown Object (File)
Thu, Dec 4, 10:17 PM
Unknown Object (File)
Sun, Nov 30, 9:24 AM
Unknown Object (File)
Sat, Nov 29, 4:18 PM
Unknown Object (File)
Fri, Nov 28, 1:44 PM
Unknown Object (File)
Thu, Nov 27, 1:28 AM

Details

Summary

Instead of predicting MSI-X bar basing on mac type, read it from device
configuration.

This patch resolves PR 239704.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26306
Build 24785: arc lint + arc unit

Event Timeline

erj added a subscriber: erj.

Is there a reason that we wouldn't do this for all of our drivers, instead of hardcoding the BAR index?

I agree with Eric, we should depend on the device to be configured properly, and push to get the images for the device updated if they're wrong.

If the BAR varies across devices, I think using pci_msix_table_bar is probably the simplest thing to do.

This revision is now accepted and ready to land.Sep 17 2019, 4:38 PM
This revision was automatically updated to reflect the committed changes.