generic: 6.1: manually refresh backport patches
[openwrt/staging/jow.git] / target / linux / generic / backport-6.1 / 730-02-v6.3-net-ethernet-mtk_eth_soc-increase-tx-ring-side-for-Q.patch
index b3412df9e0ccef315fac1e79c13816c0dee88fdb..132453738415dac8dc512c6c84c27987e1c017d4 100644 (file)
@@ -102,7 +102,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        if (ring->buf) {
 -              for (i = 0; i < MTK_DMA_SIZE; i++)
 +              for (i = 0; i < ring->dma_size; i++)
-                       mtk_tx_unmap(eth, &ring->buf[i], false);
+                       mtk_tx_unmap(eth, &ring->buf[i], NULL, false);
                kfree(ring->buf);
                ring->buf = NULL;
 @@ -2247,14 +2253,14 @@ static void mtk_tx_clean(struct mtk_eth