]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
alc(4): disable MSI-X by default on Killer cards
authorLexi Winter <lexi@le-Fay.ORG>
Mon, 22 Apr 2024 22:09:26 +0000 (16:09 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 23 Apr 2024 04:36:35 +0000 (22:36 -0600)
commit05a95d19cb248203acdd4e069d3eedfe597c3b49
treed044996bc5e7780acd37e6cb32e3e24a20e7e221
parente96d0d7468446d7cabd76ae213889297711bb144
alc(4): disable MSI-X by default on Killer cards

Several users with alc(4)-based "Killer" Ethernet cards have reported
issues with this driver not passing traffic, which are solved by
disabling MSI-X using the provided tunable.

To work around this issue, disable MSI-X by default on this card.

This is done by having msix_disable default to 2, which means
"auto-detect".  The user can still override this to either 0 or 1 as
desired.

Since these are slow (1Gbps) Ethernet ICs used in low-end systems, it's
unlikely this will cause any practical performance issues; on the other
hand, the card not working by default likely causes issues for many new
FreeBSD users who find their network port doesn't work and have no idea
why.

PR: 230807
MFC after: 1 week

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1185
share/man/man4/alc.4
sys/dev/alc/if_alc.c