zephyr/samples/net/zperf
Declan Snyder 1c231fd939 hwmv2: boards: Convert IMXRT boards
Convert IMXRT boards except RT595

Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
Co-authored-by: Daniel DeGrasse <daniel.degrasse@nxp.com>

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-01 15:50:09 +01:00
..
boards hwmv2: boards: Convert IMXRT boards 2024-03-01 15:50:09 +01:00
src
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
README.rst
overlay-bt.conf
overlay-loopback.conf
overlay-netusb.conf
overlay-usbd_next_ecm.conf
prj.conf samples: net: zperf: Increase the polled fd count 2024-01-18 20:13:31 +01:00
sample.yaml hwmv2: boards: Convert IMXRT boards 2024-03-01 15:50:09 +01:00
usbd_next_ecm.overlay

README.rst

.. 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.