]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Convert the number of MSI IRQs on x86 from a constant to a tunable.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 15 Nov 2018 18:37:41 +0000 (18:37 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 15 Nov 2018 18:37:41 +0000 (18:37 +0000)
commitb6b42932dbeaa0c7f249494fb1840deb4f2b7553
tree81646e8327f90ea45ddb74fe3702228aa6412dbc
parentaaf1f854e11fbd97bf1bcec98b0e83a95114521d
Convert the number of MSI IRQs on x86 from a constant to a tunable.

The number of MSI IRQs still defaults to 512, but it can now be
changed at boot time via the machdep.num_msi_irqs tunable.

Reviewed by: kib, royger (older version)
Reviewed by: markj
MFC after: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D17977
sys/x86/include/intr_machdep.h
sys/x86/x86/msi.c
sys/x86/xen/xen_intr.c
sys/x86/xen/xen_msi.c