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 if’s and menus.)

Defaults

Symbols that select this symbol

Kconfig definition

At subsys/net/ip/Kconfig:300

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

Menu path: (top menu) → Networking → IP stack

config NET_CONTEXT_NET_PKT_POOL
    bool
    prompt "Enable net_buf TX pool / context" if !NET_RAW_MODE && NETWORKING
    default "y" if NET_TCP && NET_6LO && !NET_RAW_MODE && NETWORKING
    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.

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