-
-
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
19 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
target/linux/ipq806x/patches-5.15/991-napi-poll-weight-rickk.patch
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/include/linux/netdevice.h | ||
+++ b/include/linux/netdevice.h | ||
@@ -2497,7 +2497,7 @@ static inline void *netdev_priv(const st | ||
/* Default NAPI poll() weight | ||
* Device drivers are strongly advised to not use bigger value | ||
*/ | ||
-#define NAPI_POLL_WEIGHT 64 | ||
+#define NAPI_POLL_WEIGHT 8 | ||
|
||
/** | ||
* netif_napi_add - initialize a NAPI context |
8 changes: 8 additions & 0 deletions
8
target/linux/ipq806x/patches-5.15/9990-ath10k-napi-budget-rickk.patch
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- a/drivers/net/wireless/ath/ath10k/core.h | ||
+++ b/drivers/net/wireless/ath/ath10k/core.h | ||
@@ -67,7 +67,7 @@ | ||
#define ATH10K_KEEPALIVE_MAX_UNRESPONSIVE 3900 | ||
|
||
/* NAPI poll budget */ | ||
-#define ATH10K_NAPI_BUDGET 64 | ||
+#define ATH10K_NAPI_BUDGET 8 |