PDK API Guide for J721E
LwipifEnetAppIf_RxHandleInfo Struct Reference

Detailed Description

RX-related parameters required by Enet's netif. They are populated by application.

Data Fields

EnetDma_RxChHandle hRxFlow
 
uint32_t rxFlowStartIdx
 
uint32_t rxFlowIdx
 
uint8_t macAddr [ENET_MAC_ADDR_LEN]
 
bool disableEvent
 
LwipifEnetAppIf_HandleRxPktFxn handlePktFxn
 

Field Documentation

◆ hRxFlow

EnetDma_RxChHandle LwipifEnetAppIf_RxHandleInfo::hRxFlow

Enet DMA receive channel.

◆ rxFlowStartIdx

uint32_t LwipifEnetAppIf_RxHandleInfo::rxFlowStartIdx

UDMA flow index for flow used.

◆ rxFlowIdx

uint32_t LwipifEnetAppIf_RxHandleInfo::rxFlowIdx

UDMA Flow index for flow used.

◆ macAddr

uint8_t LwipifEnetAppIf_RxHandleInfo::macAddr[ENET_MAC_ADDR_LEN]

MAC address allocated for the flow.

◆ disableEvent

bool LwipifEnetAppIf_RxHandleInfo::disableEvent

Whether to use RX event or not. When disabled, it uses pacing timer to retrieve packets periodically from driver.

◆ handlePktFxn

LwipifEnetAppIf_HandleRxPktFxn LwipifEnetAppIf_RxHandleInfo::handlePktFxn

Pointer for function that lets application handle packet locally. Pass NULL if packets from this RX flow should be passed directly to the stack.