diff options
author | Igor Russkikh <igor.russkikh@aquantia.com> | 2017-12-14 12:34:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-15 12:46:41 -0500 |
commit | 1e366161510f266516107a69db91f1f2edaea11c (patch) | |
tree | 4a4f94021331c769bed7709d87a78d50ab33191b /drivers/net/dsa | |
parent | e4d02ca04c6d48ab2226342a1c4ed54f1dbb72bd (diff) | |
download | linux-1e366161510f266516107a69db91f1f2edaea11c.tar.bz2 |
net: aquantia: Fix hardware DMA stream overload on large MRRS
Systems with large MRRS on device (2K, 4K) with high data rates and/or
large MTU, atlantic observes DMA packet buffer overflow. On some systems
that causes PCIe transaction errors, hardware NMIs or datapath freeze.
This patch
1) Limits MRRS from device side to 2K (thats maximum our hardware supports)
2) Limit maximum size of outstanding TX DMA data read requests. This makes
hardware buffers running fine.
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions