Data Fields
CpswMacPort_TsEventConfig_s Struct Reference

Port Configuration for Time Synchronization. More...

#include <cpsw_macport.h>

Data Fields

bool enableTxAnnexD
 
bool enableRxAnnexD
 
bool enableTxAnnexE
 
bool enableRxAnnexE
 
bool enableTxAnnexF
 
bool enableRxAnnexF
 
bool enableTxHostTs
 
CpswMacPort_VlanType txVlanType
 
CpswMacPort_VlanType rxVlanType
 
uint32_t vlanLType1
 
uint32_t vlanLType2
 
CpswMacPort_IpTsConfig commonPortIpConfig
 
uint32_t mcastType
 
uint32_t messageType
 
bool enableLType2
 
uint32_t seqIdOffset
 
uint32_t domainOffset
 

Detailed Description

Port Configuration for Time Synchronization.

Configuration information for enabling Ethernet Rx & Tx Time sync events in a port

Field Documentation

CpswMacPort_IpTsConfig CpswMacPort_TsEventConfig_s::commonPortIpConfig

Common Configuration for Annex D (IPv4) and Annex E (Ipv6)

uint32_t CpswMacPort_TsEventConfig_s::domainOffset

Time Sync Domain Offset

bool CpswMacPort_TsEventConfig_s::enableLType2

Ltype 2 is only for Annex F (PTP)

bool CpswMacPort_TsEventConfig_s::enableRxAnnexD

Enable Annex D(IPv4) Rx Time Synchronization

bool CpswMacPort_TsEventConfig_s::enableRxAnnexE

Enable Annex E(IPv6) Rx Time Synchronization

bool CpswMacPort_TsEventConfig_s::enableRxAnnexF

Enable Annex F(IEEE802.3) Rx Time Synchronization

bool CpswMacPort_TsEventConfig_s::enableTxAnnexD

Enable Annex D(IPv4) Tx Time Synchronization

bool CpswMacPort_TsEventConfig_s::enableTxAnnexE

Enable Annex E(IPv6) Tx Time Synchronization

bool CpswMacPort_TsEventConfig_s::enableTxAnnexF

Enable Annex F(IEEE802.3) Tx Time Synchronization

bool CpswMacPort_TsEventConfig_s::enableTxHostTs

Time Sync Transmit Host Time Stamp Enable

uint32_t CpswMacPort_TsEventConfig_s::mcastType

Multicast Type value only for Annex E (IPv6)

uint32_t CpswMacPort_TsEventConfig_s::messageType

Message Type value mask is only for Annex F (PTP)

CpswMacPort_VlanType CpswMacPort_TsEventConfig_s::rxVlanType

Rx VLAN Type

uint32_t CpswMacPort_TsEventConfig_s::seqIdOffset

Time Sync Sequence ID Offset

CpswMacPort_VlanType CpswMacPort_TsEventConfig_s::txVlanType

Tx VLAN Type

uint32_t CpswMacPort_TsEventConfig_s::vlanLType1

VLAN Ltype 1 and 2 are common for both Tx and Rx and are valid only if txVlanType or rxVlanType is not CPSW_MACPORT_VLAN_TYPE_NONE

uint32_t CpswMacPort_TsEventConfig_s::vlanLType2

VLAN Ltype 1 and 2 are common for both Tx and Rx and are valid only if txVlanType or rxVlanType is not CPSW_MACPORT_VLAN_TYPE_NONE


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

Copyright 2020, Texas Instruments Incorporated