commit | 854248e5ec810afe2c3dcf017bb76b7224b97c47 | [log] [tgz] |
---|---|---|
author | Jose Abreu <Jose.Abreu@synopsys.com> | Thu Nov 14 12:42:47 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 15 12:25:41 2019 -0800 |
tree | 8065e3f36c78f789c6ab1771386530595b4935c5 | |
parent | 4e4337ccf780978881f8f41c5c30dad626a4a51e [diff] |
net: stmmac: gmac4+: Remove uneeded computation for RFA/RFD RFA and RFD should not be dependent on FIFO size. In fact, the more FIFO space we have, the later we can activate Flow Control. Let's use hard-coded values for RFA and RFD for all FIFO sizes with the exception of 4k, which is a special case. Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>