PDK API Guide for J721E

Detailed Description

Enet UDMA descriptor format.

Enet UDMA packet descriptor used to share meta-data information with DMA hardware.

Public Member Functions

CSL_UdmapCppi5HMPD hostDesc __attribute__ ((aligned(UDMA_CACHELINE_ALIGNMENT)))
 

Data Fields

uint8_t extendedPktInfo [ENET_UDMA_EXTENDED_PKT_INFO_BLOCK_SIZE]
 
uint8_t psInfo [ENET_UDMA_PROTOCOL_SPECIFIC_INFO_BLOCK_SIZE]
 
uint8_t reserved [ENET_UDMA_PKT_DESC_RESERVED_SIZE]
 

Member Function Documentation

◆ __attribute__()

CSL_UdmapCppi5HMPD hostDesc EnetUdma_CpswHpdDesc::__attribute__ ( (aligned(UDMA_CACHELINE_ALIGNMENT))  )

Host-mode packet descriptor (must be the first member of the structure

Field Documentation

◆ extendedPktInfo

uint8_t EnetUdma_CpswHpdDesc::extendedPktInfo[ENET_UDMA_EXTENDED_PKT_INFO_BLOCK_SIZE]

Extended Packet Info Block.

Note:

  • For RX Flow extendedPktInfo will be present only if flowPrms.einfoPresent is set to true (TISCI_MSG_VALUE_RM_UDMAP_RX_FLOW_EINFO_PRESENT)
  • For TX channel extendedPktInfo will be present only if txPrms.filterEinfo is set to false(TISCI_MSG_VALUE_RM_UDMAP_TX_CH_FILT_EINFO_DISABLED)

◆ psInfo

uint8_t EnetUdma_CpswHpdDesc::psInfo[ENET_UDMA_PROTOCOL_SPECIFIC_INFO_BLOCK_SIZE]

Protocol Specific Info.

Note:

  • For RX Flow psInfo will be present only if flowPrms.psInfoPresent is set to true (TISCI_MSG_VALUE_RM_UDMAP_RX_FLOW_PSINFO_PRESENT)
  • For TX channel psInfo will be present only if txPrms.filterPsWords is set to false(TISCI_MSG_VALUE_RM_UDMAP_TX_CH_FILT_PSWORDS_DISABLED)

◆ reserved

uint8_t EnetUdma_CpswHpdDesc::reserved[ENET_UDMA_PKT_DESC_RESERVED_SIZE]

Reserved area. Desc size is 128 bytes (HMPD + reserved = 128)