svn commit: r325166 - head/sys/net
John Baldwin
jhb at FreeBSD.org
Wed Nov 1 18:54:31 UTC 2017
On 10/30/17 9:08 PM, Stephen Hurd wrote:
> Author: shurd
> Date: Mon Oct 30 21:08:12 2017
> New Revision: 325166
> URL: https://svnweb.freebsd.org/changeset/base/325166
>
> Log:
> Avoid enabling MSI-X if MSI-X is disabled globally
>
> It was reported on the community call that with
> hw.pci.enable_msix=0, iflib would enable MSI-X on the device and attempt
> to use it, which caused issues. Test the sysctl explicitly and do not
> enable MSI-X if it's disabled globally.
There are also various blacklists you should probably be honoring. If
you just use the existing APIs (pci_*_msix()) that should all happen
transparently however. Also, the 'enable_msi=0' tunable disables both MSI
and MSI-X (again, if you used the existing API that is already handled)
--
John Baldwin
More information about the svn-src-all
mailing list