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@nbd.name>
This commit is contained in:
Felix Fietkau 2023-01-27 19:07:32 +01:00 committed by AmadeusGhost
parent c3ac3c9350
commit 80ea885fe3
3 changed files with 30 additions and 0 deletions

View File

@ -1109,6 +1109,14 @@ config KERNEL_NET_L3_MASTER_DEV
This module provides glue between core networking code and device This module provides glue between core networking code and device
drivers to support L3 master devices like VRF. drivers to support L3 master devices like VRF.
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_4||LINUX_5_10)
# #
# NFS related symbols # NFS related symbols
# #

View File

@ -197,3 +197,14 @@ Signed-off-by: John Crispin <john@phrozen.org>
config SND_JACK config SND_JACK
bool 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"

View File

@ -197,3 +197,14 @@ Signed-off-by: John Crispin <john@phrozen.org>
config SND_JACK config SND_JACK
bool 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