]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
iflib: Add sysctl to request extra MSIX vectors on driver load
authorEric Joyner <erj@FreeBSD.org>
Wed, 22 Mar 2023 19:18:44 +0000 (12:18 -0700)
committerEric Joyner <erj@FreeBSD.org>
Thu, 18 Apr 2024 23:13:47 +0000 (16:13 -0700)
commit3c7da27a473e339392121404e06c506df040c16f
tree3dbb39e1880c8b74ae408cc6a02c51604c87e8a8
parentf697b9d03d998da8ec69f2028dd7702a42adc3fc
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
sys/net/iflib.c
sys/net/iflib.h