Transmit Packet scatter gather list entry.
This structure contains info on scatter-gather fragments used for trasmitting 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* EnetCpdma_SGListEntry::bufPtr |
Pointer to scatter fragment which might be updated by the CPDMA Driver(Software) In 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* EnetCpdma_SGListEntry::origBufPtr |
Pointer to scatter fragment given by Hardware(CPDMA)
| uint32_t EnetCpdma_SGListEntry::segmentFilledLen |
Length of valid data in the scatter fragment
| uint32_t EnetCpdma_SGListEntry::segmentAllocLen |
Length of allocated buffer for scatter fragment
| bool EnetCpdma_SGListEntry::disableCacheOps |