]> git.sur5r.net Git - u-boot/commit
net: mvpp2x: remove TX drain from transmit routine
authorStefan Chulski <stefanc@marvell.com>
Wed, 9 Aug 2017 07:37:51 +0000 (10:37 +0300)
committerStefan Roese <sr@denx.de>
Thu, 10 Aug 2017 06:33:02 +0000 (08:33 +0200)
commita25962c4171a1b08dc79072fc88c277d89b3b52a
tree01f618290c133b4633b947ca50e197452f48282f
parent783e78562d3ab55d2ca45d61b02369b198701957
net: mvpp2x: remove TX drain from transmit routine

TX drain in transmit procedure could cause issues due
to race between drain procedure and transmition of descriptor
between AGGR TXQ and physical TXQ.
TXQ will be cleared before moving to Linux by stop procedure.

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