feat: further kernel power and power optimizations
This commit is contained in:
1 parent
7d6f001659
commit
38b1f8a7ef
31 files changed
+895
-52
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user