Zephyr Project API 3.7.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ethernet_qbv_param Struct Reference

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.
 
};  
 

Detailed Description

Ethernet Qbv specific parameters.

Field Documentation

◆ [union]

union { ... } ethernet_qbv_param

◆ base_time

struct net_ptp_extended_time ethernet_qbv_param::base_time

Base time.

◆ cycle_time

struct net_ptp_time ethernet_qbv_param::cycle_time

Cycle time.

◆ enabled

bool ethernet_qbv_param::enabled

True if Qbv is enabled or not.

◆ extension_time

uint32_t ethernet_qbv_param::extension_time

Extension time (nanoseconds)

◆ [struct]

struct { ... } ethernet_qbv_param::gate_control

Gate control information.

◆ gate_control_list_len

uint32_t ethernet_qbv_param::gate_control_list_len

Number of entries in gate control list.

◆ gate_status

bool ethernet_qbv_param::gate_status[NET_TC_TX_COUNT]

True = open, False = closed.

◆ operation

enum ethernet_gate_state_operation ethernet_qbv_param::operation

GateState operation.

◆ port_id

int ethernet_qbv_param::port_id

Port id.

◆ row

uint16_t ethernet_qbv_param::row

Gate control list row.

◆ state

enum ethernet_qbv_state_type ethernet_qbv_param::state

What state (Admin/Oper) parameters are these.

◆ time_interval

uint32_t ethernet_qbv_param::time_interval

Time interval ticks (nanoseconds)

◆ type

enum ethernet_qbv_param_type ethernet_qbv_param::type

Type of Qbv parameter.


The documentation for this struct was generated from the following file: