Page MenuHomeFreeBSD

ix, ixv: Read msix_bar from device configuration

Authored by on Sep 6 2019, 12:40 PM.



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

This patch resolves PR 239704.

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

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.