| 1 |
From c3216ba4d0bb84edf0529e9ad99cd2ae8362a2c2 Mon Sep 17 00:00:00 2001 |
| 2 |
Message-ID: <c3216ba4d0bb84edf0529e9ad99cd2ae8362a2c2.1748904731.git.osandov@osandov.com> |
| 3 |
From: Omar Sandoval <[email protected]> |
| 4 |
Date: Mon, 2 Jun 2025 15:26:09 -0700 |
| 5 |
Subject: [PATCH] page_pool: enable CONFIG_PAGE_POOL by default |
| 6 |
|
| 7 |
Since commit b530e9e1063e ("bpf: Add "live packet" mode for XDP in |
| 8 |
BPF_PROG_RUN") (in v5.18), CONFIG_BPF_SYSCALL selects CONFIG_PAGE_POOL. |
| 9 |
Before that, only certain network drivers enabled it. In order to test |
| 10 |
page pool drgn helpers without enabling unnecessary network drivers, |
| 11 |
always enable CONFIG_PAGE_POOL. |
| 12 |
|
| 13 |
Signed-off-by: Omar Sandoval <[email protected]> |
| 14 |
--- |
| 15 |
net/Kconfig | 1 + |
| 16 |
1 file changed, 1 insertion(+) |
| 17 |
|
| 18 |
diff --git a/net/Kconfig b/net/Kconfig |
| 19 |
index 48ed37cdd22f..9161d523bdd3 100644 |
| 20 |
--- a/net/Kconfig |
| 21 |
+++ b/net/Kconfig |
| 22 |
@@ -435,6 +435,7 @@ config NET_DEVLINK |
| 23 |
|
| 24 |
config PAGE_POOL |
| 25 |
bool |
| 26 |
+ default y |
| 27 |
|
| 28 |
config FAILOVER |
| 29 |
tristate "Generic failover module" |
| 30 |
-- |
| 31 |
2.49.0 |
| 32 |
|