PDK API Guide for J721E
LwipifEnetAppIf_RxConfig Struct Reference

Detailed Description

RX configuration parameters.

Data Fields

EnetDma_PktNotifyCb notifyCb
 
void * cbArg
 
uint32_t numPackets
 

Field Documentation

◆ notifyCb

EnetDma_PktNotifyCb LwipifEnetAppIf_RxConfig::notifyCb

Packet notify callback function. Enet's netif passes the function that should be called when RX packets are ready. Application should register this function as the DMA RX event function or equivalent.

◆ cbArg

void* LwipifEnetAppIf_RxConfig::cbArg

Packet notify callback argument.

◆ numPackets

uint32_t LwipifEnetAppIf_RxConfig::numPackets

Number of RX packets that the netif intends to use. For instance, this determines the ring element count in UDMA based peripherals.