zephyr/subsys/net/ip/Kconfig.stack
Luiz Augusto von Dentz c53b43e4d5 net: ip: Increase RX stack size
RX stack overflow when dealing with TCP over Bluetooth/6lo setup:

RX [rx_stack] stack size 1200/1264 bytes unused 0 usage 1200/1200 (100 %)

Change-Id: I8d5e43faf93f675960e59d9340b97d1ce9fc082a
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2017-04-07 13:33:55 +03:00

45 lines
1.1 KiB
Plaintext

# Kconfig.stack - Stack usage related options
#
# Copyright (c) 2016 Intel Corporation.
#
# SPDX-License-Identifier: Apache-2.0
#
menu "Stack usage"
config NET_TX_STACK_SIZE
int "TX thread stack size"
default 1200
help
Set the TX thread stack size in bytes. The TX thread is waiting
data from application. Each network interface will start one
TX thread for sending network packets destined to it.
This value is a baseline and the actual TX stack size might
be bigger depending on what features are enabled.
config NET_RX_STACK_SIZE
int "RX thread stack size"
default 1500
help
Set the RX thread stack size in bytes. The RX thread is waiting
data from network. There is one RX thread in the system.
This value is a baseline and the actual RX stack size might
be bigger depending on what features are enabled.
if NET_RPL
config NET_RX_STACK_RPL
int "RPL specific RX stack need"
default 300
help
How much extra RX stack space is required by RPL functionality.
endif # NET_RPL
if !NET_RPL
config NET_RX_STACK_RPL
int
default 0
endif # !NET_RPL
endmenu