diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2018-06-27 17:03:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-28 16:24:25 +0300 |
commit | 4205c88eaf17b5f3ee30032d68df55cd5d9077a1 (patch) | |
tree | 75a7ae1f806d7e25625405244f43a65dccc86a85 /net | |
parent | 24ac3a08e65845a098140ff270229dec4a897404 (diff) | |
download | linux-4205c88eaf17b5f3ee30032d68df55cd5d9077a1.tar.xz |
net: stmmac: Set DMA buffer size in HW
This is clearly a bug.
We need to set the DMA buffer size in the HW otherwise corruption can
occur when receiving packets.
This is probably not occuring because of small MTU values and because HW
has a default value internally (which currently is bigger than default
buffer size).
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Vitor Soares <soares@synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions