Packet data structure.
This structure contains packet info used by application for getting/passing the packet data with DMA module.
Transmit Packet scatter gather list entry.
This structure contains info on scatter-gather fragments used for transmitting packets when packets are split into list of discontinuous fragments called scatter-gather list. Each sg list has a fragment of the packet
Data Fields | |
uint8_t * | bufPtr |
uint8_t * | origBufPtr |
uint32_t | segmentFilledLen |
uint32_t | segmentAllocLen |
bool | disableCacheOps |
uint8_t* EnetUdma_SGListEntry::bufPtr |
Pointer to scatter fragment
This is applicable only to CPDMA devices. when ts_encap or vlan_encap are enabled the TimeStamp info and other packet encapsulated data will be prepended to the packet. As the buf ptr provided by CPDMA only points to the start of the buffer, CPDMA driver(Software) moves the bufPtr to point to the start of actual ethernet packet.
uint8_t* EnetUdma_SGListEntry::origBufPtr |
Pointer to scatter fragment given by Hardware(UDMA). This change is added to align the SGList with CPDMA
uint32_t EnetUdma_SGListEntry::segmentFilledLen |
Length of valid data in the scatter fragment
uint32_t EnetUdma_SGListEntry::segmentAllocLen |
Length of allocated buffer for scatter fragment
bool EnetUdma_SGListEntry::disableCacheOps |