From b3287a21650bf1883f12efebdd7e0315ad750a59 Mon Sep 17 00:00:00 2001 From: Birger Koblitz Date: Fri, 31 Dec 2021 17:53:40 +0100 Subject: 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 --- target/linux/realtek/rtl839x/config-5.10 | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/realtek/rtl839x') diff --git a/target/linux/realtek/rtl839x/config-5.10 b/target/linux/realtek/rtl839x/config-5.10 index 089b421a3f..5c6fd8fb26 100644 --- a/target/linux/realtek/rtl839x/config-5.10 +++ b/target/linux/realtek/rtl839x/config-5.10 @@ -43,6 +43,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 -- cgit v1.2.3