forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-6.6 = .20 | ||
LINUX_KERNEL_HASH-6.6.20 = e2f6c7f39b304248193370f8c5755553ab73ad5672e92dae994a344084d8dd22 | ||
LINUX_VERSION-6.6 = .21 | ||
LINUX_KERNEL_HASH-6.6.21 = ee0b430148da94d2b13608b8d80b007b7d281dc90e3f19b63cf9a9943810e457 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,15 +42,15 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
u64_stats_update_begin(&txq_stats->napi_syncp); | ||
u64_stats_add(&txq_stats->napi.tx_packets, tx_packets); | ||
@@ -5603,6 +5607,7 @@ static int stmmac_napi_poll_tx(struct na | ||
@@ -5605,6 +5609,7 @@ static int stmmac_napi_poll_tx(struct na | ||
container_of(napi, struct stmmac_channel, tx_napi); | ||
struct stmmac_priv *priv = ch->priv_data; | ||
struct stmmac_txq_stats *txq_stats; | ||
+ bool pending_packets = false; | ||
u32 chan = ch->index; | ||
int work_done; | ||
|
||
@@ -5611,7 +5616,7 @@ static int stmmac_napi_poll_tx(struct na | ||
@@ -5613,7 +5618,7 @@ static int stmmac_napi_poll_tx(struct na | ||
u64_stats_inc(&txq_stats->napi.poll); | ||
u64_stats_update_end(&txq_stats->napi_syncp); | ||
|
||
|
@@ -59,7 +59,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
work_done = min(work_done, budget); | ||
|
||
if (work_done < budget && napi_complete_done(napi, work_done)) { | ||
@@ -5622,6 +5627,10 @@ static int stmmac_napi_poll_tx(struct na | ||
@@ -5624,6 +5629,10 @@ static int stmmac_napi_poll_tx(struct na | ||
spin_unlock_irqrestore(&ch->lock, flags); | ||
} | ||
|
||
|
@@ -70,15 +70,15 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
return work_done; | ||
} | ||
|
||
@@ -5630,6 +5639,7 @@ static int stmmac_napi_poll_rxtx(struct | ||
@@ -5632,6 +5641,7 @@ 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; | ||
+ bool tx_pending_packets = false; | ||
int rx_done, tx_done, rxtx_done; | ||
struct stmmac_rxq_stats *rxq_stats; | ||
struct stmmac_txq_stats *txq_stats; | ||
@@ -5645,7 +5655,7 @@ static int stmmac_napi_poll_rxtx(struct | ||
@@ -5647,7 +5657,7 @@ static int stmmac_napi_poll_rxtx(struct | ||
u64_stats_inc(&txq_stats->napi.poll); | ||
u64_stats_update_end(&txq_stats->napi_syncp); | ||
|
||
|
@@ -87,7 +87,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
tx_done = min(tx_done, budget); | ||
|
||
rx_done = stmmac_rx_zc(priv, budget, chan); | ||
@@ -5670,6 +5680,10 @@ static int stmmac_napi_poll_rxtx(struct | ||
@@ -5672,6 +5682,10 @@ static int stmmac_napi_poll_rxtx(struct | ||
spin_unlock_irqrestore(&ch->lock, flags); | ||
} | ||
|
||
|