aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/rtl838x
diff options
context:
space:
mode:
authorBirger Koblitz <git@birger-koblitz.de>2021-12-31 17:53:40 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-02-17 15:21:47 +0000
commitb3287a21650bf1883f12efebdd7e0315ad750a59 (patch)
treefcabe3d703776f8f137696a88bef9a0d209a6b73 /target/linux/realtek/rtl838x
parent47f5a0a3eed593e147ee1bdd36ea532ee266ba18 (diff)
downloadupstream-b3287a21650bf1883f12efebdd7e0315ad750a59.tar.gz
upstream-b3287a21650bf1883f12efebdd7e0315ad750a59.tar.bz2
upstream-b3287a21650bf1883f12efebdd7e0315ad750a59.zip
realtek: Increase zone size for Ethernet driver DMA
Set CONFIG_FORCE_MAX_ZONEORDER setting to 13 to allow larger contiguous memory allocation for the DMA of the Ethernet driver. Increase the number of entries in the RX ring to 300 making use of the larger DMA region now possible for receiveing packets. Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
Diffstat (limited to 'target/linux/realtek/rtl838x')
-rw-r--r--target/linux/realtek/rtl838x/config-5.101
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/realtek/rtl838x/config-5.10 b/target/linux/realtek/rtl838x/config-5.10
index 44309f6b7f..8208282f89 100644
--- a/target/linux/realtek/rtl838x/config-5.10
+++ b/target/linux/realtek/rtl838x/config-5.10
@@ -41,6 +41,7 @@ CONFIG_EARLY_PRINTK_8250=y
CONFIG_EXTRA_FIRMWARE="rtl838x_phy/rtl838x_8214fc.fw rtl838x_phy/rtl838x_8218b.fw rtl838x_phy/rtl838x_8380.fw"
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
CONFIG_FIXED_PHY=y
+CONFIG_FORCE_MAX_ZONEORDER=13
CONFIG_FW_LOADER_PAGED_BUF=y
CONFIG_GENERIC_ATOMIC64=y
CONFIG_GENERIC_CLOCKEVENTS=y