Skip to content
Snippets Groups Projects
Commit 58e049ea authored by Felix Fietkau's avatar Felix Fietkau
Browse files

ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint


256 entries is a bit excessive, even for gigabit speeds

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 37762
parent f43b4ea9
No related branches found
No related tags found
No related merge requests found
...@@ -58,8 +58,8 @@ ...@@ -58,8 +58,8 @@
#define AG71XX_TX_RING_SIZE_DEFAULT 64 #define AG71XX_TX_RING_SIZE_DEFAULT 64
#define AG71XX_RX_RING_SIZE_DEFAULT 128 #define AG71XX_RX_RING_SIZE_DEFAULT 128
#define AG71XX_TX_RING_SIZE_MAX 256 #define AG71XX_TX_RING_SIZE_MAX 128
#define AG71XX_RX_RING_SIZE_MAX 256 #define AG71XX_RX_RING_SIZE_MAX 128
#ifdef CONFIG_AG71XX_DEBUG #ifdef CONFIG_AG71XX_DEBUG
#define DBG(fmt, args...) pr_debug(fmt, ## args) #define DBG(fmt, args...) pr_debug(fmt, ## args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment