[PATCH RESEND] ethernet:arc: Move arc_emac_tx_clean() into arc_emac_tx() and disable tx interrut

Xing Zheng zhengxing at rock-chips.com
Fri Feb 19 05:59:27 PST 2016


On 2016年02月19日 19:13, Michael Niewoehner wrote:
> Am 19.02.2016 um 07:59 schrieb Shuyu Wei<sy.w at outlook.com>:
>
>> Doing tx_clean() inside poll() may scramble the tx ring buffer if
>> tx() is running. This will cause tx to stop working, which can be
>> reproduced by simultaneously downloading two large files at high speed.
>>
>> Moving tx_clean() into tx() will prevent this. And tx interrupt is no
>> longer needed now.
>>
>> Signed-off-by: Shuyu Wei<sy.w at outlook.com>
> Tested-by: Michael Niewoehner<linux at mniewoehner.de>
Tested-by: Xing Zheng <zhengxing at rock-chips.com>

Thanks.

-- 
- Xing Zheng





More information about the Linux-rockchip mailing list