HomeFreeBSD

iflib: Add sysctl to request extra MSIX vectors on driver load

Description

iflib: Add sysctl to request extra MSIX vectors on driver load

Intended to be used with upcoming feature to add sub-interfaces, since
those new interfaces will be dynamically created and will need to have
spare MSI-X interrupts already allocated for them on driver load.

This sysctl is marked as a tunable since it will need to be set before
the driver is loaded since MSI-X interrupt allocation and setup is
done during the attach process.

Signed-off-by: Eric Joyner <erj@FreeBSD.org>

MFC after: 3 days
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D41326

Details

Provenance
erjAuthored on Mar 22 2023, 7:18 PM
Differential Revision
D41326: iflib: Add sysctl to request extra MSIX vectors on driver load
Parents
rGf697b9d03d99: Update sys.dirdeps.mk set default DEP_*
Branches
Unknown
Tags
Unknown