summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Kubelun2025-04-16 18:07:32 +0000
committerÁlvaro Fernández Rojas2025-04-23 07:27:49 +0000
commitf99b39fd0caf4ba5f1be06841b772557243c4546 (patch)
tree11f8729240d649e44cd9c47f2aeb9efe811bd97a
parentb5680bd11339b2ed489e1deeaaa2a3432691490a (diff)
downloadopenwrt-f99b39fd0caf4ba5f1be06841b772557243c4546.tar.gz
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@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@gmail.com>
-rw-r--r--package/kernel/r8125/Makefile3
1 files changed, 2 insertions, 1 deletions
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