AM263Px MCU+ SDK: EnetCpdma_SGListEntry Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
EnetCpdma_SGListEntry Struct Reference
APIs for Networking modules » APIs for Enet LLD » Enet Data Path (DMA) » Enet CPDMA APIs » CPDMA Packet Definitions

## Detailed Description

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

## Field Documentation

## ◆ bufPtr

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.

## ◆ origBufPtr

uint8_t* EnetCpdma_SGListEntry::origBufPtr

Pointer to scatter fragment given by Hardware(CPDMA)

## ◆ segmentFilledLen

uint32_t EnetCpdma_SGListEntry::segmentFilledLen

Length of valid data in the scatter fragment

## ◆ segmentAllocLen

uint32_t EnetCpdma_SGListEntry::segmentAllocLen

Length of allocated buffer for scatter fragment

## ◆ disableCacheOps

bool EnetCpdma_SGListEntry::disableCacheOps