mirror of https://github.com/hak5/openwrt-owl.git
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> SVN-Revision: 42427owl
parent
efa2159e17
commit
05dd36a980
|
@ -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