Rock 3c ethernet fails

The ethernet has been working fine before but something messed up the DMA.
dmesg shows
rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-1:00] dtive [RTL8211F Gigabit Ethernet] (irq=POLL)

rk_gmac-dwmac fe010000.ethernet: Failed to reset the dma

rk_gmac-dwmac fe010000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed

rk_gmac-dwmac fe010000.ethernet eth0: tmmac_open: Hw setup failed

I googled and found this blog post but it’s beyond my knowledge.

I can only half understand the article and have tried to manually set the ethernet port on my switch between 10M/100M/1G hoping it can trigger the reset of the DMA but it doesn’t.

Any fix?