Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89328783 authored by Mike Ditto's avatar Mike Ditto Committed by David S. Miller
Browse files

forcedeth: Add messages to indicate using MSI or MSI-X



This adds a few kernel messages to indicate whether PCIe interrupts
are signaled with MSI or MSI-X.

Signed-off-by: default avatarDavid Decotigny <david.decotigny@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ccf5ff69
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3810,6 +3810,7 @@ static int nv_request_irq(struct net_device *dev, int intr_test)
				writel(0, base + NvRegMSIXMap0);
				writel(0, base + NvRegMSIXMap1);
			}
			netdev_info(dev, "MSI-X enabled\n");
		}
	}
	if (ret != 0 && np->msi_flags & NV_MSI_CAPABLE) {
@@ -3831,6 +3832,7 @@ static int nv_request_irq(struct net_device *dev, int intr_test)
			writel(0, base + NvRegMSIMap1);
			/* enable msi vector 0 */
			writel(NVREG_MSI_VECTOR_0_ENABLED, base + NvRegMSIIrqMask);
			netdev_info(dev, "MSI enabled\n");
		}
	}
	if (ret != 0) {