CONFIG_NET_CONTEXT_NET_PKT_POOL

Enable net_buf TX pool / context

Type: bool

Help

If enabled, then it is possible to fine-tune network packet pool for each context when sending network data. If this setting is enabled, then you should define the context pools in your application using NET_PKT_TX_POOL_DEFINE() and NET_PKT_DATA_POOL_DEFINE() macros and tie these pools to desired context using the net_context_setup_pools() function.

Direct dependencies

!NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

Symbols that select this symbol

Kconfig definition

At subsys/net/ip/Kconfig:341

Included via Kconfig:10Kconfig.zephyr:44subsys/Kconfig:24subsys/net/Kconfig:83

Menu path: (Top) → Networking → Link layer and IP networking support → IP stack

config NET_CONTEXT_NET_PKT_POOL
    bool "Enable net_buf TX pool / context"
    default y if NET_TCP && NET_6LO
    depends on !NET_RAW_MODE && NETWORKING
    help
      If enabled, then it is possible to fine-tune network packet pool
      for each context when sending network data. If this setting is
      enabled, then you should define the context pools in your application
      using NET_PKT_TX_POOL_DEFINE() and NET_PKT_DATA_POOL_DEFINE()
      macros and tie these pools to desired context using the
      net_context_setup_pools() function.

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