1common:
2  tags:
3    - net
4    - zperf
5  platform_exclude:
6    - sam_e70_xplained/same70q21
7  min_ram: 64
8sample:
9  description: Network performance measurement tool for Zephyr
10  name: zperf
11tests:
12  sample.net.zperf:
13    harness: net
14    platform_allow: qemu_x86
15  sample.net.zperf_no_server:
16    harness: net
17    platform_allow: qemu_x86
18    extra_configs:
19      - CONFIG_NET_ZPERF_SERVER=n
20  sample.net.zperf.async_tx.stm32:
21    filter: dt_compat_enabled("st,stm32-ethernet") and CONFIG_ETH_STM32_HAL_API_V2
22    harness: console
23    harness_config:
24      type: multi_line
25      regex:
26        - "coming up"
27    integration_platforms:
28      - stm32h573i_dk
29    extra_configs:
30      - CONFIG_ETH_STM32_HAL_TX_ASYNC=y
31  sample.net.zperf_st:
32    harness: console
33    harness_config:
34      type: multi_line
35      regex:
36        - "coming up"
37    platform_allow:
38      - nucleo_h563zi
39      - nucleo_h743zi
40      - nucleo_h753zi
41      - nucleo_f429zi
42      - nucleo_f746zg
43      - stm32h573i_dk
44    integration_platforms:
45      - stm32h573i_dk
46  sample.net.zperf_no_shell:
47    harness: net
48    extra_configs:
49      - CONFIG_NET_SHELL=n
50    platform_allow: qemu_x86
51  sample.net.zperf_concurrent_upload:
52    harness: net
53    extra_configs:
54      - CONFIG_ZPERF_SESSION_PER_THREAD=y
55    platform_allow: qemu_x86
56  sample.net.zperf.usbd_cdc_ecm:
57    harness: net
58    extra_args:
59      - EXTRA_CONF_FILE="overlay-usbd.conf"
60      - DTC_OVERLAY_FILE="usbd_cdc_ecm.overlay"
61    platform_allow:
62      - nrf52840dk/nrf52840
63      - frdm_k64f
64    tags:
65      - usb
66      - net
67      - zperf
68    depends_on: usbd
69  sample.net.zperf.usbd_cdc_ncm:
70    harness: net
71    extra_args:
72      - EXTRA_CONF_FILE="overlay-usbd.conf"
73      - DTC_OVERLAY_FILE="usbd_cdc_ncm.overlay"
74    platform_allow:
75      - nrf52840dk/nrf52840
76      - frdm_k64f
77    tags:
78      - usb
79      - net
80      - zperf
81    depends_on: usbd
82  sample.net.zperf.shield:
83    harness: net
84    platform_allow: reel_board
85    extra_args: SHIELD=link_board_eth
86    tags:
87      - shield
88      - net
89      - zperf
90    depends_on:
91      - arduino_spi
92      - arduino_gpio
93  sample.net.zperf.nxp_enet1g:
94    extra_args: EXTRA_DTC_OVERLAY_FILE="nxp,enet1g.overlay"
95    tags:
96      - net
97      - zperf
98    platform_allow:
99      - mimxrt1170_evk/mimxrt1176/cm7
100  sample.net.zperf.802154.subg:
101    extra_args: EXTRA_CONF_FILE="overlay-802154-subg.conf"
102    platform_allow: beagleconnect_freedom
103  sample.net.zperf.nrf7002dk:
104    extra_args: SNIPPET=wifi-ipv4
105    extra_configs:
106      - CONFIG_BUILD_ONLY_NO_BLOBS=y
107    platform_allow: nrf7002dk/nrf5340/cpuapp
108