[PATCH stable 4.14] net: stmmac: Set dma ring length before enabling the DMA