Page MenuHomeFreeBSD

D12805.id34465.diff
No OneTemporary

D12805.id34465.diff

Index: head/sys/net/iflib.c
===================================================================
--- head/sys/net/iflib.c
+++ head/sys/net/iflib.c
@@ -5260,6 +5260,19 @@
bar = ctx->ifc_softc_ctx.isc_msix_bar;
admincnt = sctx->isc_admin_intrcnt;
+ /* Override by global tuneable */
+ {
+ int i;
+ size_t len = sizeof(i);
+ err = kernel_sysctlbyname(curthread, "hw.pci.enable_msix", &i, &len, NULL, 0, NULL, 0);
+ if (err == 0) {
+ if (i == 0)
+ goto msi;
+ }
+ else {
+ device_printf(dev, "unable to read hw.pci.enable_msix.");
+ }
+ }
/* Override by tuneable */
if (scctx->isc_disable_msix)
goto msi;

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 26, 11:32 PM (18 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16856857
Default Alt Text
D12805.id34465.diff (628 B)

Event Timeline