Commit 9a3208b6 authored by Committed by Greg Kroah-HartmanBrowse files
net: stmmac: update rx tail pointer register to fix rx dma hang issue.
[ Upstream commit 4523a561 ] 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 <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org> Signed-off-by: Sasha Levin <email@example.com>