mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
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>
This commit is contained in:
parent
47f5a0a3ee
commit
b3287a2165
@ -35,8 +35,8 @@ extern struct rtl83xx_soc_info soc_info;
|
||||
* available in total for all queues.
|
||||
*/
|
||||
#define MAX_RXRINGS 32
|
||||
#define MAX_RXLEN 200
|
||||
#define MAX_ENTRIES (200 * 8)
|
||||
#define MAX_RXLEN 300
|
||||
#define MAX_ENTRIES (300 * 8)
|
||||
#define TXRINGS 2
|
||||
#define TXRINGLEN 160
|
||||
#define NOTIFY_EVENTS 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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user