diff options
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index 79cabf1ee68..745fb02d2fd 100644 --- a/net/Kconfig +++ b/net/Kconfig | |||
@@ -232,6 +232,19 @@ config XPS | |||
232 | depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS | 232 | depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS |
233 | default y | 233 | default y |
234 | 234 | ||
235 | config HAVE_BPF_JIT | ||
236 | bool | ||
237 | |||
238 | config BPF_JIT | ||
239 | bool "enable BPF Just In Time compiler" | ||
240 | depends on HAVE_BPF_JIT | ||
241 | ---help--- | ||
242 | Berkeley Packet Filter filtering capabilities are normally handled | ||
243 | by an interpreter. This option allows kernel to generate a native | ||
244 | code when filter is loaded in memory. This should speedup | ||
245 | packet sniffing (libpcap/tcpdump). Note : Admin should enable | ||
246 | this feature changing /proc/sys/net/core/bpf_jit_enable | ||
247 | |||
235 | menu "Network testing" | 248 | menu "Network testing" |
236 | 249 | ||
237 | config NET_PKTGEN | 250 | config NET_PKTGEN |