]> 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)
commita4f86ee8323ae9653e453aad33c3eac3bcf963e2
treea4374f888e8773e7961888e798eb558eb9fb49ca
parentbc3d827ca343b6018b0bdd87adf55ae96a482a33
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