zephyr/samples/net/zperf
Declan Snyder fdbba0341c drivers: nxp_enet: Deprecate ETH_MCUX
Deprecate ETH_MCUX, by:

- Marking it as DEPRECATED in Kconfig, obviously.
- Unmarking the new driver as experimental.
- Putting the new and old drivers in the same folder.
- Reworking the menu appearance of the driver selection.
  Note that technically now it is possible to choose the wrong
  driver than what is enabled in DT, this is intentional, but
  the correct one will obviously be enabled by default.
- Convert all sample overlays to the new Kconfigs. This was
  part of the motivation for the shared overlays, as it was
  causing twister/CI logs to look ugly and misleading due
  to Kconfig warnings.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-04-18 11:18:31 +02:00
..
boards drivers: nxp_enet: Deprecate ETH_MCUX 2024-04-18 11:18:31 +02:00
src samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
CMakeLists.txt samples: net: zperf: allow networking code to be relocated to RAM 2024-01-26 12:57:02 +01:00
Kconfig samples: net: zperf: allow networking code to be relocated to RAM 2024-01-26 12:57:02 +01:00
overlay-802154-subg.conf samples: net: zperf: Add subg overlay 2024-04-12 11:54:55 +02:00
overlay-loopback.conf samples: net: zperf: Add loopback overlay 2022-10-21 13:15:05 +02:00
overlay-netusb.conf samples: Explicitly disable boot USB device support init at boot 2023-01-10 12:21:10 +01:00
overlay-usbd_next_ecm.conf samples: zperf: add overlays for USBD CDC ECM implementation 2023-05-11 11:26:54 +02:00
prj.conf samples: net: Change to use CONFIG_POSIX_API 2024-03-27 13:40:13 -05:00
README.rst samples: net: doc: Use new Sphinx extension to document networking samples 2023-09-19 15:22:59 +01:00
sample.yaml drivers: nxp_enet: Deprecate ETH_MCUX 2024-04-18 11:18:31 +02:00
usbd_next_ecm.overlay samples: zperf: add overlays for USBD CDC ECM implementation 2023-05-11 11:26:54 +02:00

.. zephyr:code-sample:: zperf
   :name: zperf: Network Traffic Generator
   :relevant-api: net_config

   Use the zperf shell utility to evaluate network bandwidth.

Description
***********

The zperf sample demonstrates the :ref:`zperf shell utility <zperf>`, which
allows to evaluate network bandwidth.

Features
*********

- Compatible with iPerf_2.0.5. Note that in newer iPerf versions,
  an error message like this is printed and the server reported statistics
  are missing.

.. code-block:: console

   LAST PACKET NOT RECEIVED!!!

- Client or server mode allowed without need to modify the source code.

Supported Boards
****************

zperf is board-agnostic. However, to run the zperf sample application,
the target platform must provide a network interface supported by Zephyr.

This sample application has been tested on the following platforms:

- Freedom Board (FRDM K64F)
- QEMU x86
- Arm FVP BaseR AEMv8-R
- ARM BASE RevC AEMv8A Fixed Virtual Platforms

Requirements
************

- iPerf 2.0.5 installed on the host machine
- Supported board

Depending on the network technology chosen, extra steps may be required
to setup the network environment.

Usage
*****

See :ref:`zperf library documentation <zperf>` for more information about
the library usage.