PDK API Guide for J721E
Packet Definitions

Introduction

This group contains details about CPSW DMA packet Q structures. These Packet Q's are used to exchange data between application and driver module.

Data Structures

struct  CpswDma_PktTsInfo
 CPPI Buffer timestamp info. More...
 
struct  CpswDma_PktInfo
 CPPI Buffer info. More...
 
struct  CpswDma_CpswHpdDesc
 CPSW DMA UDMA descriptor format. More...
 
struct  CpswDma_DmaDesc
 CPPI DMA descriptor. More...
 

Typedefs

typedef CpswDma_PktInfo *(* CpswDma_AllocEthPktFxn) (void *appPriv, uint32_t pktSize, uint32_t alignSize)
 Function pointer type for Ethernet packet allocation function. More...
 
typedef void(* CpswDma_FreeEthPktFxn) (CpswDma_PktInfo *pPktInfo)
 Function pointer type for Ethernet packet free function. More...
 
typedef queue_t CpswDma_PktInfoQ
 Packet Queue. More...
 

Typedef Documentation

typedef CpswDma_PktInfo*(* CpswDma_AllocEthPktFxn) (void *appPriv, uint32_t pktSize, uint32_t alignSize)

Function pointer type for Ethernet packet allocation function.

typedef void(* CpswDma_FreeEthPktFxn) (CpswDma_PktInfo *pPktInfo)

Function pointer type for Ethernet packet free function.

Packet Queue.

A queue of packets, which are use for managing the active queue of packets given to the hardware driver. It can also be used by the translation or application layer to manage packets that are not currently active.