AM263Px MCU+ SDK: EnetCpdma_SGList Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
EnetCpdma_SGList 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 list info.

This structure contains info on the scatter list used for transmitting packets that are split into list of fragments. Using a scatter list allows application to transmit packet that are not a single continuous buffer but a list of scatter fragments chained together. Support for scatter list is needed for supporting zero copy in network stacks protocols like UDP

## Data Fields
uint32_t | numScatterSegments
EnetCpdma_SGListEntry | list [ENET_CPDMA_CPSW_MAX_SG_LIST]

## Field Documentation

## ◆ numScatterSegments

uint32_t EnetCpdma_SGList::numScatterSegments

Number of valid scatter segments in the packet to be transmitted If packet is made of a single continuous buffer (no scatter list case) then numScatterSegments == 1

## ◆ list

EnetCpdma_SGListEntry EnetCpdma_SGList::list[ENET_CPDMA_CPSW_MAX_SG_LIST]

Array of scatterList having info on each individual scatter segement