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>

Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D41326

(cherry picked from commit 3c7da27a473e339392121404e06c506df040c16f)

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
rGd381220e4ee1: iflib: Correct indentation according to style(9)
Branches
Unknown
Tags
Unknown