Hi ,
We are configuring PFE_MAC0/1/2 on M7.
are the below API's are correct or wrong?? please correct me.
1# HIF:
Can_Llce_Init_PfeIf(PFE_PHY_IF_ID_HIF3); -- As 3 MACs are using then 2 different MACs need to use ?? HIF0/1/2 to PFE_MAC0/1/2 respectively -- please correct me if i am right or wrong.
2# Avtp or UDP need to use ?? my understanding is UDP API's. please correct me. with respective with HIF.
SampleApp_ConfigFilter_Avtp(PFE_PHY_IF_ID_HIF3, PFE_PHY_IF_ID_EMAC0);
SampleApp_ConfigFilter_Avtp(PFE_PHY_IF_ID_HIF3, PFE_PHY_IF_ID_EMAC1);
SampleApp_ConfigFilter_Avtp(PFE_PHY_IF_ID_HIF3, PFE_PHY_IF_ID_EMAC2);
SampleApp_ConfigFilter_Udp(PFE_PHY_IF_ID_HIF3, PFE_PHY_IF_ID_EMAC0);
SampleApp_ConfigFilter_Avtp(PFE_PHY_IF_ID_HIF3, PFE_PHY_IF_ID_EMAC1);
SampleApp_ConfigFilter_Udp(PFE_PHY_IF_ID_HIF3, PFE_PHY_IF_ID_EMAC2);
#3: Which of the destination address are correct ??
//uint8 dstMacAddr[] = { 0xE4, 0x54, 0xE8, 0xBC, 0xB8, 0x88 };
uint8 dstMacAddr[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
In the configuration default src_addrr(66:55:44:33:22:11) and dest_addr(ff:ff:ff:ff:ff:ff) is it correct ??
#4: We like to slow path ETh communication are these below APIs are correct or do we need to use ??
ProvideTxBufferResult = Eth_43_PFE_ProvideTxBuffer(ethCtrl, 0U, &BufferIndex, &bufPtr, &LengthInBytes);
Eth_43_PFE_Transmit(ethCtrl, BufferIndex, 0x0806, TRUE, LengthInBytes, dstMacAddr);
Regards,
Viswanath K