]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - lib/Kconfig.debug
net: filter: BPF testsuite
[mirror_ubuntu-jammy-kernel.git] / lib / Kconfig.debug
index 819ac51202c01006e105f91355d492db6bdd6eb6..423ca319a5f8f099355ee5999063fac7efb9c3fd 100644 (file)
@@ -1620,6 +1620,19 @@ config TEST_USER_COPY
 
          If unsure, say N.
 
+config TEST_BPF
+       tristate "Test BPF filter functionality"
+       default n
+       depends on m
+       help
+         This builds the "test_bpf" module that runs various test vectors
+         against the BPF interpreter or BPF JIT compiler depending on the
+         current setting. This is in particular useful for BPF JIT compiler
+         development, but also to run regression tests against changes in
+         the interpreter code.
+
+         If unsure, say N.
+
 source "samples/Kconfig"
 
 source "lib/Kconfig.kgdb"