Hi,
I need to able to receive raw ethernet packet in promiscuous mode on C6678 evm.
I found the following thread:
However, the suggested patch doesn't fit my setup.
I use ndk_3_61_01_01 with pdk_c667x_2_0_16.
In the file: pdk_c667x_2_0_16\packages\ti\transport\ndk\nimu\src\v1\nimu_eth.c
I modified the following:
/* Set the 'initial' Receive Filter */
//ptr_pvt_data->pdi.Filter = ETH_PKTFLT_MULTICAST;
ptr_pvt_data->pdi.Filter = ETH_PKTFLT_ALL;
in static int EmacStart (NETIF_DEVICE* ptr_net_device)
and added
CSL_CPGMAC_SL_enableRxCEF(macPortNum);
in void Init_MAC (uint32_t macPortNum, uint8_t macAddress[6], uint32_t mtu)
What other changes are needed?
When i send the packets from an FPGA,
I see that packet arrive if I add debug print inside "EmacPktService (NETIF_DEVICE* ptr_net_device)" function but i don't see them at higher sw abstractions.
Thanks!
Pavel