CONFIG_NET_SOCKETS_OFFLOAD

Offload Socket APIs [EXPERIMENTAL]

Type: bool

Help

Enables direct offloading of socket operations to dedicated TCP/IP hardware. This feature is intended to save resources by bypassing the Zephyr TCP/IP stack in the case where there is only one network interface required in the system, providing full BSD socket offload capability. As a result, it bypasses any potential IP routing that Zephyr might provide between multiple network interfaces. See NET_OFFLOAD for a more deeply integrated approach which offloads from the net_context() API within the Zephyr IP stack.

Direct dependencies

NET_SOCKETS && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Symbols that select this symbol

Symbols that imply this symbol

Kconfig definition

At subsys/net/lib/sockets/Kconfig:103

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:82subsys/net/lib/Kconfig:28

Menu path: (Top) → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API

config NET_SOCKETS_OFFLOAD
    bool "Offload Socket APIs [EXPERIMENTAL]"
    select NET_SOCKETS_POSIX_NAMES
    depends on NET_SOCKETS && NETWORKING
    help
      Enables direct offloading of socket operations to dedicated TCP/IP
      hardware.
      This feature is intended to save resources by bypassing the Zephyr
      TCP/IP stack in the case where there is only one network interface
      required in the system, providing full BSD socket offload capability.
      As a result, it bypasses any potential IP routing that Zephyr might
      provide between multiple network interfaces.
      See NET_OFFLOAD for a more deeply integrated approach which offloads
      from the net_context() API within the Zephyr IP stack.

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