]> git.baikalelectronics.ru Git - kernel.git/commit
net: mediatek: add next data pointer coherency protection
authorJohn Crispin <john@phrozen.org>
Fri, 10 Jun 2016 11:28:02 +0000 (13:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:29:29 +0000 (23:29 -0700)
commit07c78aeca018d528e0e7fbd7b095e7534fe70275
treea4374f888e8773e7961888e798eb558eb9fb49ca
parent33366e93bca3ef9c34e184f27a2b1b50fb13b27e
net: mediatek: add next data pointer coherency protection

The QDMA engine can fail to update the register pointing to the next TX
descriptor if this bit does not get set in the QDMA configuration register.
Not setting this bit can result in invalid values inside the TX rings
registers which will causes TX stalls.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h