|
Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Ethernet Qbv specific parameters. More...
#include <ethernet.h>
Data Fields | ||
| int | port_id | |
| Port id. | ||
| enum ethernet_qbv_param_type | type | |
| Type of Qbv parameter. | ||
| enum ethernet_qbv_state_type | state | |
| What state (Admin/Oper) parameters are these. | ||
| union { | ||
| bool enabled | ||
| True if Qbv is enabled or not. More... | ||
| struct { | ||
| bool gate_status [NET_TC_TX_COUNT] | ||
| True = open, False = closed. More... | ||
| enum ethernet_gate_state_operation operation | ||
| GateState operation. More... | ||
| uint32_t time_interval | ||
| Time interval ticks (nanoseconds) More... | ||
| uint16_t row | ||
| Gate control list row. More... | ||
| } gate_control | ||
| Gate control information. More... | ||
| uint32_t gate_control_list_len | ||
| Number of entries in gate control list. More... | ||
| struct { | ||
| struct net_ptp_extended_time base_time | ||
| Base time. More... | ||
| struct net_ptp_time cycle_time | ||
| Cycle time. More... | ||
| uint32_t extension_time | ||
| Extension time (nanoseconds) More... | ||
| } | ||
| The time values are set in one go when type is set to ETHERNET_QBV_PARAM_TYPE_TIME. | ||
| }; | ||
Ethernet Qbv specific parameters.
| union { ... } ethernet_qbv_param |
| struct net_ptp_extended_time ethernet_qbv_param::base_time |
Base time.
| struct net_ptp_time ethernet_qbv_param::cycle_time |
Cycle time.
| bool ethernet_qbv_param::enabled |
True if Qbv is enabled or not.
| uint32_t ethernet_qbv_param::extension_time |
Extension time (nanoseconds)
| struct { ... } ethernet_qbv_param::gate_control |
Gate control information.
| uint32_t ethernet_qbv_param::gate_control_list_len |
Number of entries in gate control list.
| bool ethernet_qbv_param::gate_status[NET_TC_TX_COUNT] |
True = open, False = closed.
| enum ethernet_gate_state_operation ethernet_qbv_param::operation |
GateState operation.
| int ethernet_qbv_param::port_id |
Port id.
| uint16_t ethernet_qbv_param::row |
Gate control list row.
| enum ethernet_qbv_state_type ethernet_qbv_param::state |
What state (Admin/Oper) parameters are these.
| uint32_t ethernet_qbv_param::time_interval |
Time interval ticks (nanoseconds)
| enum ethernet_qbv_param_type ethernet_qbv_param::type |
Type of Qbv parameter.