The latest development version of this page may be more current than this released 2.6.1-rc1 version.
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 subsys/net/Kconfig:38

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:39

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.)