1# Copyright (c) 2022 Nordic Semiconductor ASA
2# Copyright (c) 2023 Arm Limited (or its affiliates). All rights reserved.
3# SPDX-License-Identifier: Apache-2.0
4
5menuconfig NET_ZPERF
6	bool "zperf shell utility"
7	select NET_CONTEXT_RCVTIMEO if NET_NATIVE_UDP
8	select NET_SOCKETS_SERVICE
9	select NET_SOCKETS
10	help
11	  This option enables zperf shell utility, which allows to generate
12	  network traffic and evaluate network bandwidth.
13
14if NET_ZPERF
15
16config ZPERF_WORK_Q_THREAD_PRIORITY
17	int "zperf work queue thread priority"
18	default NUM_PREEMPT_PRIORITIES
19	help
20	  Priority of the thread that handles zperf work queue.
21
22config ZPERF_WORK_Q_STACK_SIZE
23	int "zperf work queue thread stack size"
24	default 2048
25	help
26	  Stack size of the thread that handles zperf work queue.
27
28module = NET_ZPERF
29module-dep = NET_LOG
30module-str = Log level for zperf
31module-help = Enable debug message of zperf library.
32source "subsys/net/Kconfig.template.log_config.net"
33
34config NET_ZPERF_MAX_PACKET_SIZE
35	int "Maximum packet size"
36	default 1024
37	help
38	  Upper size limit for packets sent by zperf.
39
40config NET_ZPERF_MAX_SESSIONS
41	int "Maximum number of zperf sessions"
42	default 4
43	help
44	  Upper size limit for connections handled by zperf.
45
46endif
47