generic: 6.1: fixup QCA807x upstream PHY
[openwrt/openwrt.git] / target / linux / generic / pending-6.1 / 702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch
index 269c639d6c343b08f49b97c45760f3f7f46a3fd5..be28fdc803618329f83348f6a405bdfb3af72731 100644 (file)
@@ -10,27 +10,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -3048,8 +3048,8 @@ static irqreturn_t mtk_handle_irq_rx(int
-       eth->rx_events++;
-       if (likely(napi_schedule_prep(&eth->rx_napi))) {
--              __napi_schedule(&eth->rx_napi);
-               mtk_rx_irq_disable(eth, eth->soc->txrx.rx_irq_done_mask);
-+              __napi_schedule(&eth->rx_napi);
-       }
-       return IRQ_HANDLED;
-@@ -3061,8 +3061,8 @@ static irqreturn_t mtk_handle_irq_tx(int
-       eth->tx_events++;
-       if (likely(napi_schedule_prep(&eth->tx_napi))) {
--              __napi_schedule(&eth->tx_napi);
-               mtk_tx_irq_disable(eth, MTK_TX_DONE_INT);
-+              __napi_schedule(&eth->tx_napi);
-       }
-       return IRQ_HANDLED;
-@@ -4720,6 +4720,8 @@ static int mtk_probe(struct platform_dev
+@@ -4942,6 +4942,8 @@ static int mtk_probe(struct platform_dev
         * for NAPI to work
         */
        init_dummy_netdev(&eth->dummy_dev);