This patch brings simple example on per DSA port LLDP filtering based on MAC address of received packet. Each lan1, lan2 and lan3 ports handle separately LLDP packets going into them. Nonetheless, the K66F ENET handles correctly all other packets types - to be more specific - ICMP, TCP/IP. Setup -> ON HOST: Configure/start the lldpd daemon (debian 10) on host to use MAC 01:80:c2:00:00:03: (lldpd -ddd & ) && sleep 2 && \ lldpcli configure lldp agent-type nearest-non-tpmr-bridge Signed-off-by: Lukasz Majewski <lukma@denx.de>
32 lines
577 B
ReStructuredText
32 lines
577 B
ReStructuredText
.. _dsa-sample:
|
|
|
|
DSA Sample Application
|
|
######################
|
|
|
|
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 `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:
|