Commit 9a3208b6 authored by Committed by Greg Kroah-Hartman
net: stmmac: update rx tail pointer register to fix rx dma hang issue.
[ Upstream commit 4523a5611526709ec9b4e2574f1bb7818212651e ] Currently we will not update the receive descriptor tail pointer in stmmac_rx_refill. Rx dma will think no available descriptors and stop once received packets exceed DMA_RX_SIZE, so that the rx only test will fail. Update the receive tail pointer in stmmac_rx_refill to add more descriptors to the rx channel, so packets can be received continually Fixes: 54139cf3 ("net: stmmac: adding multiple buffers for rx") Signed-off-by: Biao Huang <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com> Signed-off-by: Sasha Levin <firstname.lastname@example.org>
Showing with 1 addition and 0 deletions