From: David S. Miller Date: Sat, 3 Dec 2022 21:49:23 +0000 (+0000) Subject: Merge branch 'r8169-irq-coalesce' X-Git-Tag: v6.6-pxa1908~2292^2~74 X-Git-Url: https://git.dujemihanovic.xyz/?a=commitdiff_plain;h=32163491c0c205ffb1596baf9c308dee5338ae94;p=linux.git Merge branch 'r8169-irq-coalesce' Heiner Kallweit says: ==================== net: add and use netdev_sw_irq_coalesce_default_on() There are reports about r8169 not reaching full line speed on certain systems (e.g. SBC's) with a 2.5Gbps link. There was a time when hardware interrupt coalescing was enabled per default, but this was changed due to ASPM-related issues on few systems. Meanwhile we have sysfs attributes for controlling kind of "software interrupt coalescing" on the GRO level. However most distros and users don't know about it. So lets set a conservative default for both involved parameters. Users can still override the defaults via sysfs. Don't enable these settings on the fast ethernet chip versions, they are slow enough. Even with these conservative setting interrupt load on my 1Gbps test system reduced significantly. Follow Jakub's suggestion and put this functionality into net core so that other MAC drivers can reuse it. ==================== Signed-off-by: David S. Miller --- 32163491c0c205ffb1596baf9c308dee5338ae94