genode/repos/dde_linux/patches/r8169_disable_irq_coalescing.patch
Josef Söntgen be70fddbb8 nic/pc: disable IRQ coalescing in R8169 driver
This commit patches the DDE Linux contrib code to remove IRQ coalescing
from the R8169 driver that for reason not yet known leads to interrupts
occurring irregularly.

Issue #5356.
2024-10-15 08:42:03 +02:00

16 lines
592 B
Diff

Disable IRQ coalescing as it seems to not work properly in our
port because at some point triggering interrupts stops altogether.
In this case the netperf tests produce around 0.1(!) MBit/s of
throughput.
--- src/linux/drivers/net/ethernet/realtek/r8169_main.c
+++ src/linux/drivers/net/ethernet/realtek/r8169_main.c
@@ -5374,7 +5374,7 @@
dev->hw_features |= NETIF_F_RXALL;
dev->hw_features |= NETIF_F_RXFCS;
- netdev_sw_irq_coalesce_default_on(dev);
+ // netdev_sw_irq_coalesce_default_on(dev);
/* configure chip for default features */
rtl8169_set_features(dev, dev->features);