[openwrt/openwrt] kernel: r8125: disable ASPM

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 23 00:29:30 PDT 2025


noltari pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f99b39fd0caf4ba5f1be06841b772557243c4546

commit f99b39fd0caf4ba5f1be06841b772557243c4546
Author: Pavel Kubelun <be.dissent at gmail.com>
AuthorDate: Wed Apr 16 21:07:32 2025 +0300

    kernel: r8125: disable ASPM
    
    Disable ASPM support for this NIC, fixing strange behavior problems, such as
    increased latency, strange uneven throughput, etc.
    With this option disabled the NIC achieves stable performance.
    Upsteam r8169 driver disables ASPM by default for this NIC.
    
    Signed-off-by: Pavel Kubelun <be.dissent at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/18509
    [bump release, fix commit description, split 2nd tx queue part]
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 package/kernel/r8125/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/r8125/Makefile b/package/kernel/r8125/Makefile
index 9dde19437a..6a97143e17 100644
--- a/package/kernel/r8125/Makefile
+++ b/package/kernel/r8125/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=r8125
 PKG_VERSION:=9.015.00
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://github.com/openwrt/rtl8125/releases/download/$(PKG_VERSION)
@@ -23,6 +23,7 @@ define KernelPackage/r8125
   AUTOLOAD:=$(call AutoProbe,r8125,1)
   PROVIDES:=kmod-r8169
   VARIANT:=regular
+  PKG_MAKE_FLAGS += CONFIG_ASPM=n
 endef
 
 define KernelPackage/r8125-rss




More information about the lede-commits mailing list