ETHFW API Guide

Introduction

Data Structures

struct  EthFwIET_Config
 Ethernet Firmware IET config parameters. More...
 

Functions

void EthFwIET_notifyLinkChange (const Enet_MacPort macPort, const bool isLinkUp)
 Notify Link Up down Event. More...
 
void EthFwIET_init (const EthFwIET_Config *ietCfg, Enet_Handle hEnet, uint32_t coreId)
 API to updated the global object with params. More...
 

Macros

#define ETHFW_NUM_IET_VERIFY_ATTEMPTS   (20U)
 
#define CPSW_MACPORT_FIFO   (8)
 

Macro Definition Documentation

◆ ETHFW_NUM_IET_VERIFY_ATTEMPTS

#define ETHFW_NUM_IET_VERIFY_ATTEMPTS   (20U)

No of Iteration to run to verify IET capability before timeout

◆ CPSW_MACPORT_FIFO

#define CPSW_MACPORT_FIFO   (8)

Number of FIFO queues per macPort

Function Documentation

◆ EthFwIET_notifyLinkChange()

void EthFwIET_notifyLinkChange ( const Enet_MacPort  macPort,
const bool  isLinkUp 
)

Notify Link Up down Event.

Callback function to notify about mac port link up/down.

Parameters
macPortmacPort on which link changes is detected
isLinkUplink is up or down

◆ EthFwIET_init()

void EthFwIET_init ( const EthFwIET_Config ietCfg,
Enet_Handle  hEnet,
uint32_t  coreId 
)

API to updated the global object with params.

Parameters
ietCfgParams passed from application layer
hEnetEthernet handle
coreIdcaller core id