2016-11-18 18:56:43 +08:00
|
|
|
# Kconfig.stack - Stack usage related options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Intel Corporation.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-11-18 18:56:43 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
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"
|
2017-04-07 17:36:10 +08:00
|
|
|
default 1500
|
2016-11-18 18:56:43 +08:00
|
|
|
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.
|
|
|
|
|
2016-11-18 19:28:45 +08:00
|
|
|
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
|
|
|
|
|
2016-11-18 18:56:43 +08:00
|
|
|
endmenu
|