net: ethernet: mediatek: fix fails from TX housekeeping due to incorrect port setup
authorSean Wang <sean.wang@mediatek.com>
Thu, 1 Sep 2016 02:47:27 +0000 (10:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 03:53:47 +0000 (20:53 -0700)
commitc6f1dc4d9ce275c1bd9d90b5630f36ca6abccc97
tree345f875d57002986e31c563ff3a1fc6d2263e466
parent9264251ee2a55bce8fb93826b3f581fb9eb7e2c2
net: ethernet: mediatek: fix fails from TX housekeeping due to incorrect port setup

which net device the SKB is complete for depends on the forward port
on txd4 on the corresponding TX descriptor, but the information isn't
set up well in case of  SKB fragments that would lead to watchdog timeout
from the upper layer, so fix it up.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c