feat: further kernel power and power optimizations

This commit is contained in:
daniel committed 2026-04-21 20:51:12 +02:00
1 parent 7d6f001659
commit 38b1f8a7ef
31 files changed
+895 -52

No files matched your search

+5
View File
@@ -124,6 +124,10 @@ namespace Drivers::Net::E1000E {
return *(volatile uint32_t*)(g_mmioBase + reg);
}
static void ConfigureInterruptModeration() {
WriteReg(REG_ITR, ITR_INTERVAL_512US);
}
// -------------------------------------------------------------------------
// SW/FW semaphore (prevents conflicts with Intel Management Engine)
// -------------------------------------------------------------------------
@@ -586,6 +590,7 @@ namespace Drivers::Net::E1000E {
SetupRx();
SetupTx();
ConfigureInterruptModeration();
if (SetupMsi(bus, device, function)) {
WriteReg(REG_IMS, ICR_RXT0 | ICR_TXDW | ICR_TXQE | ICR_LSC | ICR_RXDMT0);