aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>2021-12-08 18:06:51 +0800
committerDavid S. Miller <davem@davemloft.net>2021-12-13 12:20:35 +0000
commit3a6c12a0c6c3f857f47efe0e40011360063a35bc (patch)
tree2a5a083867c3e3509999ad3f02ab96cd7d5442f4 /net/tipc
parentMerge branch 'dsa-tagger-storage' (diff)
downloadlinux-dev-3a6c12a0c6c3f857f47efe0e40011360063a35bc.tar.xz
linux-dev-3a6c12a0c6c3f857f47efe0e40011360063a35bc.zip
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