mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37762 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -58,8 +58,8 @@
|
||||
#define AG71XX_TX_RING_SIZE_DEFAULT 64
|
||||
#define AG71XX_RX_RING_SIZE_DEFAULT 128
|
||||
|
||||
#define AG71XX_TX_RING_SIZE_MAX 256
|
||||
#define AG71XX_RX_RING_SIZE_MAX 256
|
||||
#define AG71XX_TX_RING_SIZE_MAX 128
|
||||
#define AG71XX_RX_RING_SIZE_MAX 128
|
||||
|
||||
#ifdef CONFIG_AG71XX_DEBUG
|
||||
#define DBG(fmt, args...) pr_debug(fmt, ## args)
|
||||
|
||||
Reference in New Issue
Block a user