CONFIG_NET_BUF_WARN_ALLOC_INTERVAL

Interval of Network buffer allocation warnings

Type: int

Help

Interval in seconds of Network buffer allocation warnings which are generated when a buffer cannot immediately be allocated with K_FOREVER which may lead to deadlocks. Setting it to 0 makes warnings to be printed only once per allocation.

Direct dependencies

NET_BUF_LOG && NET_BUF

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/net/Kconfig:49

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:22

Menu path: (top menu) → Networking

config NET_BUF_WARN_ALLOC_INTERVAL
    int
    prompt "Interval of Network buffer allocation warnings" if NET_BUF_LOG && NET_BUF
    range 0 60 if NET_BUF_LOG && NET_BUF
    default 1 if NET_BUF_LOG && NET_BUF
    depends on NET_BUF_LOG && NET_BUF
    help
      Interval in seconds of Network buffer allocation warnings which are
      generated when a buffer cannot immediately be allocated with K_FOREVER
      which may lead to deadlocks. Setting it to 0 makes warnings to be
      printed only once per allocation.

(Definitions include propagated dependencies, including from if’s and menus.)