kernel: bump 5.10 to 5.10.122
[openwrt/staging/ansuel.git] / target / linux / generic / pending-5.10 / 702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch
index 9c3120aad40a55b1e27aa16697556b6678aae4e0..5ccabec38cd160dd4e91cf26d5d85f11547e3c53 100644 (file)
@@ -10,7 +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
-@@ -2179,8 +2179,8 @@ static irqreturn_t mtk_handle_irq_rx(int
+@@ -2182,8 +2182,8 @@ static irqreturn_t mtk_handle_irq_rx(int
  
        eth->rx_events++;
        if (likely(napi_schedule_prep(&eth->rx_napi))) {
@@ -20,7 +20,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        }
  
        return IRQ_HANDLED;
-@@ -2192,8 +2192,8 @@ static irqreturn_t mtk_handle_irq_tx(int
+@@ -2195,8 +2195,8 @@ static irqreturn_t mtk_handle_irq_tx(int
  
        eth->tx_events++;
        if (likely(napi_schedule_prep(&eth->tx_napi))) {
@@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        }
  
        return IRQ_HANDLED;
-@@ -3300,6 +3300,8 @@ static int mtk_probe(struct platform_dev
+@@ -3303,6 +3303,8 @@ static int mtk_probe(struct platform_dev
         * for NAPI to work
         */
        init_dummy_netdev(&eth->dummy_dev);