Debian Codegraph @

vmtest/patches/5.17-page_pool-enable-CONFIG_PAGE_POOL-by-default.patch

raw
1 From e74439d0a3a12b7c90826dd4f8bded6cbe0e142a Mon Sep 17 00:00:00 2001
2 Message-ID: <e74439d0a3a12b7c90826dd4f8bded6cbe0e142a.1748904529.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 8a1f9d0287de..865f93e259da 100644
20 --- a/net/Kconfig
21 +++ b/net/Kconfig
22 @@ -433,6 +433,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