1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc/network_layer/ipv6/Kconfig
Leandro Lanzieri b0168f5fdd
gnrc/ipv6: Configure queue size with exponent
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:50 +02:00

33 lines
872 B
Plaintext

# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menu "IPv6"
menuconfig KCONFIG_MODULE_GNRC_IPV6
bool "Configure GNRC IPv6 module"
depends on MODULE_GNRC_IPV6
help
Configure GNRC IPv6 module using Kconfig.
if KCONFIG_MODULE_GNRC_IPV6
config GNRC_IPV6_MSG_QUEUE_SIZE_EXP
int "Exponent for the message queue size used for the IPv6 thread (as 2^n)"
default 3
help
As the queue size ALWAYS needs to be power of two, this option
represents the exponent of 2^n, which will be used as the size of
the queue.
endif # KCONFIG_MODULE_GNRC_IPV6
rsource "blacklist/Kconfig"
rsource "ext/frag/Kconfig"
rsource "nib/Kconfig"
rsource "whitelist/Kconfig"
endmenu # IPv6