Zephyr Project API 4.1.99
A Scalable Open Source RTOS
|
Distributed Switch Architecture (DSA) More...
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/net/net_if.h>
#include <zephyr/net/phy.h>
Go to the source code of this file.
Data Structures | |
struct | dsa_switch_context |
DSA switch context data. More... | |
struct | dsa_api |
Structure to provide DSA switch api callbacks - it is an augmented struct ethernet_api. More... | |
struct | dsa_port_config |
Structure of DSA port configuration. More... | |
Macros | |
#define | DSA_PORT_INST_INIT(port, n, cfg) |
Macro for DSA port instance initialization. | |
#define | DSA_SWITCH_INST_INIT(n, _dapi, data, fn) |
Macro for DSA switch instance initialization. | |
Functions | |
struct net_if * | dsa_user_get_iface (struct net_if *iface, int port_idx) |
Get network interface of a user port. | |
Distributed Switch Architecture (DSA)