|
Zephyr API Documentation 4.3.0-rc2
A Scalable Open Source RTOS
|
Structure of DSA port configuration. More...
#include <zephyr/net/dsa_core.h>
Data Fields | |
| uint8_t | mac_addr [6] |
| Port mac address. | |
| const bool | use_random_mac_addr |
| Use random mac address or not. | |
| const int | port_idx |
| Port index. | |
| const struct device * | phy_dev |
| PHY device. | |
| const char * | phy_mode |
| PHY mode. | |
| const int | tag_proto |
| Tag protocol. | |
| const struct device * | ethernet_connection |
| Ethernet device connected to the port. | |
| const struct device * | ptp_clock |
| PTP clock used on the port. | |
| void * | prv_config |
| Instance specific config. | |
Structure of DSA port configuration.
| const struct device* dsa_port_config::ethernet_connection |
Ethernet device connected to the port.
| uint8_t dsa_port_config::mac_addr[6] |
Port mac address.
| const struct device* dsa_port_config::phy_dev |
PHY device.
| const char* dsa_port_config::phy_mode |
PHY mode.
| const int dsa_port_config::port_idx |
Port index.
| void* dsa_port_config::prv_config |
Instance specific config.
| const struct device* dsa_port_config::ptp_clock |
PTP clock used on the port.
CONFIG_NET_L2_PTP. | const int dsa_port_config::tag_proto |
Tag protocol.
| const bool dsa_port_config::use_random_mac_addr |
Use random mac address or not.