]> git.sur5r.net Git - u-boot/commit
net: mvpp2x: decrease size of AGGR_TXQ and CPU_DESC_CHUNK
authorStefan Chulski <stefanc@marvell.com>
Wed, 9 Aug 2017 07:37:47 +0000 (10:37 +0300)
committerStefan Roese <sr@denx.de>
Thu, 10 Aug 2017 06:33:02 +0000 (08:33 +0200)
commitf0e970fd2a5f802f7f2553a13a2f1e4e4bf7d5ee
tree69cc0e73b769552cdeeb3416c15d449c10122974
parentbb915c843f28573bb31496644e7f7e2c0a066fd8
net: mvpp2x: decrease size of AGGR_TXQ and CPU_DESC_CHUNK

U-boot use single physical tx queue with size 16 descriptors.
So aggregated tx queue size should be equal to physical tx queue
and cpu descriptor chunk(number of descriptors delivered from
physical tx queue to aggregated tx queue by one chunk) shouldn't be
larger than physical tx queue.

Fix:
Set AGGR_TXQ and CPU_DESC_CHUNK to be 16 descriptors, same as
physical TXQ.

Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Nadav Haklai <nadavh@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/net/mvpp2.c