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

Default

Symbols that select this symbol

Kconfig definition

At <Zephyr>/subsys/net/ip/Kconfig:464

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

Menu path: (Top) → Sub Systems and OS Services → 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.)