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 ifs and menus.)

Default

  • 1

Kconfig definition

At <Zephyr>/subsys/net/Kconfig:38

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34

Menu path: (Top) → Sub Systems and OS Services → Networking → Network buffer support

config NET_BUF_WARN_ALLOC_INTERVAL
    int "Interval of Network buffer allocation warnings"
    range 0 60
    default 1
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)