|
@@ -42,7 +42,7 @@ Signed-off-by: Paolo Abeni <[email protected]>
|
|
|
|
|
|
__netif_tx_unlock_bh(netdev_get_tx_queue(priv->dev, queue));
|
|
|
|
|
|
-@@ -5488,12 +5492,13 @@ static int stmmac_napi_poll_tx(struct na
|
|
|
+@@ -5490,12 +5494,13 @@ static int stmmac_napi_poll_tx(struct na
|
|
|
struct stmmac_channel *ch =
|
|
|
container_of(napi, struct stmmac_channel, tx_napi);
|
|
|
struct stmmac_priv *priv = ch->priv_data;
|
|
@@ -57,7 +57,7 @@ Signed-off-by: Paolo Abeni <[email protected]>
|
|
|
work_done = min(work_done, budget);
|
|
|
|
|
|
if (work_done < budget && napi_complete_done(napi, work_done)) {
|
|
|
-@@ -5504,6 +5509,10 @@ static int stmmac_napi_poll_tx(struct na
|
|
|
+@@ -5506,6 +5511,10 @@ static int stmmac_napi_poll_tx(struct na
|
|
|
spin_unlock_irqrestore(&ch->lock, flags);
|
|
|
}
|
|
|
|
|
@@ -68,7 +68,7 @@ Signed-off-by: Paolo Abeni <[email protected]>
|
|
|
return work_done;
|
|
|
}
|
|
|
|
|
|
-@@ -5512,12 +5521,13 @@ static int stmmac_napi_poll_rxtx(struct
|
|
|
+@@ -5514,12 +5523,13 @@ static int stmmac_napi_poll_rxtx(struct
|
|
|
struct stmmac_channel *ch =
|
|
|
container_of(napi, struct stmmac_channel, rxtx_napi);
|
|
|
struct stmmac_priv *priv = ch->priv_data;
|
|
@@ -83,7 +83,7 @@ Signed-off-by: Paolo Abeni <[email protected]>
|
|
|
tx_done = min(tx_done, budget);
|
|
|
|
|
|
rx_done = stmmac_rx_zc(priv, budget, chan);
|
|
|
-@@ -5542,6 +5552,10 @@ static int stmmac_napi_poll_rxtx(struct
|
|
|
+@@ -5544,6 +5554,10 @@ static int stmmac_napi_poll_rxtx(struct
|
|
|
spin_unlock_irqrestore(&ch->lock, flags);
|
|
|
}
|
|
|
|