zephyr/subsys/net/ip/Kconfig.mgmt
David B. Kinder ac74d8b652 license: Replace Apache boilerplate with SPDX tag
Replace the existing Apache 2.0 boilerplate header with an SPDX tag
throughout the zephyr code tree. This patch was generated via a
script run over the master branch.

Also updated doc/porting/application.rst that had a dependency on
line numbers in a literal include.

Manually updated subsys/logging/sys_log.c that had a malformed
header in the original file.  Also cleanup several cases that already
had a SPDX tag and we either got a duplicate or missed updating.

Jira: ZEP-1457

Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-01-19 03:50:58 +00:00

69 lines
1.9 KiB
Plaintext

#
# Copyright (c) 2016 Intel Corporation.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig NET_MGMT
bool "Network Management API"
default n
help
Add support for NM API that enables managing different aspects
of the network stack as well as receiving notification on network
events (ip address change, iface up and running ...).
if NET_MGMT
config NET_MGMT_EVENT
bool "Add support for runtime network event notifications"
default n
help
This adds support for the stack to notify events towards any
relevant listener. This can be necessary when application
(or else) needs to be notified on a specific network event
(ip address change for instance) to trigger some related work.
config NET_MGMT_EVENT_STACK_SIZE
int "Stack size for the inner thread handling event callbacks"
default 512
depends on NET_MGMT_EVENT
help
Set the internal stack size for NM to run registered callbacks
on events.
config NET_MGMT_EVENT_THREAD_PRIO
int "Inner thread priority (use with care)"
default 7
depends on NET_MGMT_EVENT
help
Set the network management event core's inner thread priority.
Do not change this unless you know what you are doing.
config NET_MGMT_EVENT_QUEUE_SIZE
int "Size of event queue"
default 2
range 1 8
depends on NET_MGMT_EVENT
help
Numbers of events which can be queued at same time. Note that if a
3rd event comes in, the first will be removed without generating any
notification. Thus the size of this queue has to be tweaked depending
on the load of the system, planned for the usage.
config NET_DEBUG_MGMT_EVENT
bool "Enable debug output on Net MGMT event core"
default n
depends on NET_MGMT_EVENT
help
Add debug messages output on how Net MGMT events are handled.
config NET_DEBUG_MGMT_EVENT_STACK
bool "Enable stack analysis output on Net MGMT event core"
default n
select INIT_STACKS
depends on NET_MGMT_EVENT
help
Add debug messages output on how much Net MGMT event stack is used.
endif