ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves performance) (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42427 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
689e691766
commit
b083d521df
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
#define AG71XX_TX_MTU_LEN 1540
|
#define AG71XX_TX_MTU_LEN 1540
|
||||||
|
|
||||||
#define AG71XX_TX_RING_SPLIT 256
|
#define AG71XX_TX_RING_SPLIT 512
|
||||||
#define AG71XX_TX_RING_DS_PER_PKT DIV_ROUND_UP(AG71XX_TX_MTU_LEN, \
|
#define AG71XX_TX_RING_DS_PER_PKT DIV_ROUND_UP(AG71XX_TX_MTU_LEN, \
|
||||||
AG71XX_TX_RING_SPLIT)
|
AG71XX_TX_RING_SPLIT)
|
||||||
#define AG71XX_TX_RING_SIZE_DEFAULT 48
|
#define AG71XX_TX_RING_SIZE_DEFAULT 48
|
||||||
|
|
Loading…
Reference in New Issue