Skip to content

Commit

Permalink
Add Rickk NAPI poll weight patches
Browse files Browse the repository at this point in the history
  • Loading branch information
noblemtw committed Jan 13, 2024
1 parent be3d639 commit e9061c5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions target/linux/ipq806x/patches-5.15/991-napi-poll-weight-rickk.patch
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
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

0 comments on commit e9061c5

Please sign in to comment.