kernel: make it possible for packages to select page pool support
authorFelix Fietkau <nbd@nbd.name>
Fri, 27 Jan 2023 18:07:32 +0000 (19:07 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 29 Jan 2023 09:08:21 +0000 (10:08 +0100)
Will be used by the next mt76 update

Signed-off-by: Felix Fietkau <nbd@nbd.name>
config/Config-kernel.in
target/linux/generic/hack-5.10/251-kconfig.patch
target/linux/generic/hack-5.15/251-kconfig.patch

index eed3fba1aa0a7cfdf76c97c8b0e04c2149a2a8e2..81b76179a5386cb196ec3713ed42be3aec4c5400 100644 (file)
@@ -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
index 30b8ee23ea389da371cd16d0a387b533054a7caf..d692d137f15b2700fbaaded09863dc9c9e59275f 100644 (file)
@@ -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"
index 5a8a820252a63c378aff0999e82607d81953467f..0e24c3e8041f3474d141a52eae89240f9aacdc9e 100644 (file)
@@ -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