diff options
author | Biao Huang <biao.huang@mediatek.com> | 2019-06-03 04:58:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-06 03:03:14 +0300 |
commit | ee326fd01e79dfa42014d55931260b68b9fa3273 (patch) | |
tree | 20820c29c7113c5875ec86b9e3b6c83406a60e66 /lib/test_stackinit.c | |
parent | d2facb4b3983425f6776c24dd678a82dbe673773 (diff) | |
download | linux-ee326fd01e79dfa42014d55931260b68b9fa3273.tar.xz |
net: stmmac: dwmac4: fix flow control issue
Current dwmac4_flow_ctrl will not clear
GMAC_RX_FLOW_CTRL_RFE/GMAC_RX_FLOW_CTRL_RFE bits,
so MAC hw will keep flow control on although expecting
flow control off by ethtool. Add codes to fix it.
Fixes: 477286b53f55 ("stmmac: add GMAC4 core support")
Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions