The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_NET_BUF_DATA_SIZE

Size of each network data fragment

Type: int

Help

This value tells what is the fixed size of each network buffer.

Direct dependencies

NET_BUF_FIXED_DATA_SIZE && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 128

Kconfig definition

At subsys/net/ip/Kconfig:653

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:37subsys/net/Kconfig:87

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack

config NET_BUF_DATA_SIZE
    int "Size of each network data fragment"
    default 128
    depends on NET_BUF_FIXED_DATA_SIZE && NETWORKING
    help
      This value tells what is the fixed size of each network buffer.

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