diff options
author | Xiaoliang Yang <xiaoliang.yang_1@nxp.com> | 2021-12-08 13:06:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-13 15:20:35 +0300 |
commit | 3a6c12a0c6c3f857f47efe0e40011360063a35bc (patch) | |
tree | 2a5a083867c3e3509999ad3f02ab96cd7d5442f4 /net/tipc | |
parent | 9b5bcb193a3bba4b96ead86df52602e3951655ba (diff) | |
download | linux-3a6c12a0c6c3f857f47efe0e40011360063a35bc.tar.xz |
net: stmmac: bump tc when get underflow error from DMA descriptor
In DMA threshold mode, frame underflow errors may sometimes occur when
the TC(threshold control) value is not enough. The TC value need to be
bumped up in this case.
There is no underflow interrupt bit on DMA_CH(#i)_Status of dwmac4, so
the DMA threshold cannot be bumped up in stmmac_dma_interrupt(). The
i.mx8mp board observed an underflow error while running NFS boot, the
NFS rootfs could not be mounted.
The underflow error can be got from the DMA descriptor TDES3 on dwmac4.
This patch bump up tc value once underflow error is got from TDES3.
Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions