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: 42427
This commit is contained in:
parent
efa2159e17
commit
05dd36a980
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue