Skip to content

Commit

Permalink
kernel: make it possible for packages to select page pool support
Browse files Browse the repository at this point in the history
Will be used by the next mt76 update

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Jan 29, 2023
1 parent 83d3e25 commit d02d455
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/Config-kernel.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions target/linux/generic/hack-5.10/251-kconfig.patch
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,14 @@ Signed-off-by: John Crispin <john@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"
11 changes: 11 additions & 0 deletions target/linux/generic/hack-5.15/251-kconfig.patch
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,14 @@ Signed-off-by: John Crispin <john@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

0 comments on commit d02d455

Please sign in to comment.