-
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.
Defaults¶
- 1 if
NET_BUF_LOG
&&NET_BUF
Kconfig definition¶
At subsys/net/Kconfig:49
Included via Kconfig:10
→ Kconfig.zephyr:35
→ subsys/Kconfig:22
Menu path: (top menu) → Networking
config NET_BUF_WARN_ALLOC_INTERVAL int prompt "Interval of Network buffer allocation warnings" ifNET_BUF_LOG
&&NET_BUF
range 0 60 ifNET_BUF_LOG
&&NET_BUF
default 1 ifNET_BUF_LOG
&&NET_BUF
depends onNET_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.)