Public Member Functions | Data Fields
CpswDma_cpswUdmaDesc_s Struct Reference

CPSW DMA UDMA descriptor format. More...

#include <cpsw_dma.h>

Public Member Functions

CSL_UdmapCppi5HMPD hostDesc __attribute__ ((aligned(UDMA_CACHELINE_ALIGNMENT)))
 

Data Fields

uint8_t extendedPktInfo [CPSW_DMA_EXTENDED_PKT_INFO_BLOCK_SIZE]
 
uint8_t psInfo [CPSW_DMA_PROTOCOL_SPECIFIC_INFO_BLOCK_SIZE]
 
uint8_t reserved [CPSW_DMA_PKT_DESC_RESERVED_SIZE]
 

Detailed Description

CPSW DMA UDMA descriptor format.

CPSW DMA Desc size - this is used by applications to allocate DMA desc memory

CPSW packet which contains information about the underlying UDMA packet descriptor and can be used to form a queue of packets using CpswPktQ_*() functions

Member Function Documentation

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

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

Field Documentation

uint8_t CpswDma_cpswUdmaDesc_s::extendedPktInfo[CPSW_DMA_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)
uint8_t CpswDma_cpswUdmaDesc_s::psInfo[CPSW_DMA_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)
uint8_t CpswDma_cpswUdmaDesc_s::reserved[CPSW_DMA_PKT_DESC_RESERVED_SIZE]

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


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

Copyright 2020, Texas Instruments Incorporated