This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2612: AM2612 Ethernet setting

Part Number: AM2612

Hi experts,

 

My customer is using AM2612 Ethernet.

If customer wants to individually control whether forwarding is enabled for a specific port, using:

CpswAle_SetPortStateInArgs inArgs; int32_t status; inArgs.portNum = alePortNum; inArgs.portState = state; ENET_IOCTL_SET_IN_ARGS(&prms, &inArgs); status = ENET_IOCTL(hEnet, coreId, CPSW_ALE_IOCTL_SET_PORT_STATE, &prms);

Would setting the state to CPSW_ALE_PORTSTATE_BLOCK work?

Best Regards

Kita