2022-07-13 15:42:11 +08:00
|
|
|
# Copyright (c) 2022 Nordic Semiconductor ASA
|
2023-01-10 19:04:00 +08:00
|
|
|
# Copyright (c) 2023 Arm Limited (or its affiliates). All rights reserved.
|
2022-07-13 15:42:11 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig NET_ZPERF
|
|
|
|
bool "zperf shell utility"
|
2022-12-14 21:19:46 +08:00
|
|
|
select NET_CONTEXT_RCVTIMEO if NET_NATIVE_UDP
|
2024-01-16 22:53:53 +08:00
|
|
|
select NET_SOCKETS_SERVICE
|
2022-07-13 15:42:11 +08:00
|
|
|
help
|
|
|
|
This option enables zperf shell utility, which allows to generate
|
|
|
|
network traffic and evaluate network bandwidth.
|
|
|
|
|
|
|
|
if NET_ZPERF
|
|
|
|
|
2023-03-20 03:26:24 +08:00
|
|
|
config ZPERF_WORK_Q_THREAD_PRIORITY
|
|
|
|
int "zperf work queue thread priority"
|
|
|
|
default NUM_PREEMPT_PRIORITIES
|
|
|
|
help
|
|
|
|
Priority of the thread that handles zperf work queue.
|
|
|
|
|
2023-03-20 03:28:23 +08:00
|
|
|
config ZPERF_WORK_Q_STACK_SIZE
|
|
|
|
int "zperf work queue thread stack size"
|
|
|
|
default 2048
|
|
|
|
help
|
|
|
|
Stack size of the thread that handles zperf work queue.
|
|
|
|
|
2022-07-13 15:42:11 +08:00
|
|
|
module = NET_ZPERF
|
|
|
|
module-dep = NET_LOG
|
|
|
|
module-str = Log level for zperf
|
|
|
|
module-help = Enable debug message of zperf libray.
|
|
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
|
|
|
|
2022-09-14 13:34:50 +08:00
|
|
|
config NET_ZPERF_MAX_PACKET_SIZE
|
|
|
|
int "Maximum packet size"
|
|
|
|
default 1024
|
|
|
|
help
|
|
|
|
Upper size limit for packets sent by zperf.
|
|
|
|
|
2023-01-10 19:04:00 +08:00
|
|
|
config NET_ZPERF_MAX_SESSIONS
|
|
|
|
int "Maximum number of zperf sessions"
|
|
|
|
default 4
|
|
|
|
help
|
|
|
|
Upper size limit for connections handled by zperf.
|
|
|
|
|
2022-07-13 15:42:11 +08:00
|
|
|
endif
|