zephyr/samples/net/dsa
Jukka Rissanen c09ec58f01 samples: net: dsa: Enable DHCPv4 and start it when interface is up
Enable DHCPv4 when network interface goes up. This makes it easier
to test IP connectivity with DSA.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-04-24 01:26:46 +02:00
..
boards samples: net: dsa: convert to new dsa core driver 2025-04-24 01:26:46 +02:00
src samples: net: dsa: Enable DHCPv4 and start it when interface is up 2025-04-24 01:26:46 +02:00
CMakeLists.txt samples: net: dsa: rework for flexibility and extensibility 2025-02-11 22:03:48 +01:00
Kconfig samples: net: dsa: rename master/slave to conduit/user 2025-04-24 01:26:46 +02:00
prj.conf samples: net: dsa: Enable DHCPv4 and start it when interface is up 2025-04-24 01:26:46 +02:00
README.rst boards: segger: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
sample.yaml samples: net: dsa: add mimxrt1180_evk board support 2025-02-11 22:03:48 +01:00

.. zephyr:code-sample:: dsa
   :name: DSA (Distributed Switch Architecture)
   :relevant-api: DSA

   Test and debug Distributed Switch Architecture

Overview
********

Example on testing/debugging Distributed Switch Architecture

The source code for this sample application can be found at:
:zephyr_file:`samples/net/dsa`.

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

- :ref:`networking_with_host`

Building and Running
********************

Host machine with :zephyr:board:`ip_k66f` board from Segger.

Follow these steps to build the DSA sample application:

.. zephyr-app-commands::
   :zephyr-app: samples/net/dsa
   :board: <board to use>
   :conf: prj.conf
   :goals: build
   :compact: