Kconfig (8c57a5e7b2820f349c95b8c8393fec1e0f4070d2) Kconfig (2d283bdd079c0ad4da020bbc9e9c2a4280823098)
1#
2# Network configuration
3#
4
5menuconfig NET
6 bool "Networking support"
7 select NLATTR
8 select GENERIC_NET_UTILS

--- 222 unchanged lines hidden (view full) ---

231source "net/batman-adv/Kconfig"
232source "net/openvswitch/Kconfig"
233source "net/vmw_vsock/Kconfig"
234source "net/netlink/Kconfig"
235source "net/mpls/Kconfig"
236source "net/hsr/Kconfig"
237source "net/switchdev/Kconfig"
238source "net/l3mdev/Kconfig"
1#
2# Network configuration
3#
4
5menuconfig NET
6 bool "Networking support"
7 select NLATTR
8 select GENERIC_NET_UTILS

--- 222 unchanged lines hidden (view full) ---

231source "net/batman-adv/Kconfig"
232source "net/openvswitch/Kconfig"
233source "net/vmw_vsock/Kconfig"
234source "net/netlink/Kconfig"
235source "net/mpls/Kconfig"
236source "net/hsr/Kconfig"
237source "net/switchdev/Kconfig"
238source "net/l3mdev/Kconfig"
239source "net/qrtr/Kconfig"
240source "net/ncsi/Kconfig"
239
240config RPS
241 bool
242 depends on SMP && SYSFS
243 default y
244
245config RFS_ACCEL
246 bool

--- 36 unchanged lines hidden (view full) ---

283config BQL
284 bool
285 depends on SYSFS
286 select DQL
287 default y
288
289config BPF_JIT
290 bool "enable BPF Just In Time compiler"
241
242config RPS
243 bool
244 depends on SMP && SYSFS
245 default y
246
247config RFS_ACCEL
248 bool

--- 36 unchanged lines hidden (view full) ---

285config BQL
286 bool
287 depends on SYSFS
288 select DQL
289 default y
290
291config BPF_JIT
292 bool "enable BPF Just In Time compiler"
291 depends on HAVE_BPF_JIT
293 depends on HAVE_CBPF_JIT || HAVE_EBPF_JIT
292 depends on MODULES
293 ---help---
294 Berkeley Packet Filter filtering capabilities are normally handled
295 by an interpreter. This option allows kernel to generate a native
296 code when filter is loaded in memory. This should speedup
294 depends on MODULES
295 ---help---
296 Berkeley Packet Filter filtering capabilities are normally handled
297 by an interpreter. This option allows kernel to generate a native
298 code when filter is loaded in memory. This should speedup
297 packet sniffing (libpcap/tcpdump). Note : Admin should enable
298 this feature changing /proc/sys/net/core/bpf_jit_enable
299 packet sniffing (libpcap/tcpdump).
299
300
301 Note, admin should enable this feature changing:
302 /proc/sys/net/core/bpf_jit_enable
303 /proc/sys/net/core/bpf_jit_harden (optional)
304
300config NET_FLOW_LIMIT
301 bool
302 depends on RPS
303 default y
304 ---help---
305 The network stack has to drop packets when a receive processing CPU's
306 backlog reaches netdev_max_backlog. If a few out of many active flows
307 generate the vast majority of load, drop their traffic earlier to

--- 105 unchanged lines hidden (view full) ---

413 default y if NET_DEVLINK=y || NET_DEVLINK=n
414 help
415 Drivers using the devlink infrastructure should have a dependency
416 on MAY_USE_DEVLINK to ensure they do not cause link errors when
417 devlink is a loadable module and the driver using it is built-in.
418
419endif # if NET
420
305config NET_FLOW_LIMIT
306 bool
307 depends on RPS
308 default y
309 ---help---
310 The network stack has to drop packets when a receive processing CPU's
311 backlog reaches netdev_max_backlog. If a few out of many active flows
312 generate the vast majority of load, drop their traffic earlier to

--- 105 unchanged lines hidden (view full) ---

418 default y if NET_DEVLINK=y || NET_DEVLINK=n
419 help
420 Drivers using the devlink infrastructure should have a dependency
421 on MAY_USE_DEVLINK to ensure they do not cause link errors when
422 devlink is a loadable module and the driver using it is built-in.
423
424endif # if NET
425
421# Used by archs to tell that they support BPF_JIT
422config HAVE_BPF_JIT
426# Used by archs to tell that they support BPF JIT compiler plus which flavour.
427# Only one of the two can be selected for a specific arch since eBPF JIT supersedes
428# the cBPF JIT.
429
430# Classic BPF JIT (cBPF)
431config HAVE_CBPF_JIT
423 bool
432 bool
433
434# Extended BPF JIT (eBPF)
435config HAVE_EBPF_JIT
436 bool