[openwrt/openwrt] kernel: make it possible for packages to select page pool support
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 29 01:08:45 PST 2023
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d02d4556789f59f472c3134569a341a48f18c1ec
commit d02d4556789f59f472c3134569a341a48f18c1ec
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Jan 27 19:07:32 2023 +0100
kernel: make it possible for packages to select page pool support
Will be used by the next mt76 update
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
config/Config-kernel.in | 7 +++++++
target/linux/generic/hack-5.10/251-kconfig.patch | 11 +++++++++++
target/linux/generic/hack-5.15/251-kconfig.patch | 11 +++++++++++
3 files changed, 29 insertions(+)
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index eed3fba1aa..81b76179a5 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -1123,6 +1123,13 @@ config KERNEL_WEXT_PROC
config KERNEL_WEXT_SPY
def_bool KERNEL_WIRELESS_EXT
+config KERNEL_PAGE_POOL
+ def_bool n
+
+config KERNEL_PAGE_POOL_STATS
+ bool "Page pool stats support"
+ depends on KERNEL_PAGE_POOL
+ depends on !LINUX_5_10
#
# NFS related symbols
diff --git a/target/linux/generic/hack-5.10/251-kconfig.patch b/target/linux/generic/hack-5.10/251-kconfig.patch
index 30b8ee23ea..d692d137f1 100644
--- a/target/linux/generic/hack-5.10/251-kconfig.patch
+++ b/target/linux/generic/hack-5.10/251-kconfig.patch
@@ -197,3 +197,14 @@ Signed-off-by: John Crispin <john at phrozen.org>
config SND_JACK
bool
+--- a/net/Kconfig
++++ b/net/Kconfig
+@@ -436,7 +436,7 @@ config NET_DEVLINK
+ default n
+
+ config PAGE_POOL
+- bool
++ bool "Page pool support"
+
+ config FAILOVER
+ tristate "Generic failover module"
diff --git a/target/linux/generic/hack-5.15/251-kconfig.patch b/target/linux/generic/hack-5.15/251-kconfig.patch
index 5a8a820252..0e24c3e804 100644
--- a/target/linux/generic/hack-5.15/251-kconfig.patch
+++ b/target/linux/generic/hack-5.15/251-kconfig.patch
@@ -197,3 +197,14 @@ Signed-off-by: John Crispin <john at phrozen.org>
config SND_JACK
bool
+--- a/net/Kconfig
++++ b/net/Kconfig
+@@ -432,7 +432,7 @@ config NET_DEVLINK
+ default n
+
+ config PAGE_POOL
+- bool
++ bool "Page pool support"
+
+ config PAGE_POOL_STATS
+ default n
More information about the lede-commits
mailing list