Hi All,
In <PDK Installation directory>\packages\ti\transport\ndk\nimu\src\nimu_eth.c
what i see is gRxFlowHnd which tells the following
1. what is the RXQ onto which, the received descriptors are pushed/dumped.
2. which RXFDQ to pick up free descriptors for PKTDMA.
i see a rx flow Handle [gRxFlowHnd ] created in setupRx.
but when configuring the Add_MACAddress, what i see is 0, /* Flow ID 0 */
paRouteInfo_t routeInfo = { pa_DEST_HOST, /* Route a match to the host */
0, /* Flow ID 0 */
0, /* Destination queue */
-1, /* Multi route disabled */
0xaaaaaaaa, /* SwInfo 0 */
0, /* SwInfo 1 is dont care */
0, /* customType = pa_CUSTOM_TYPE_NONE */ \
0, /* customIndex: not used */ \
0, /* pkyType: for SRIO only */ \
NULL /* No commands */
};
what i understand is flow id should be given as (u8)Cppi_getFlowId(gRxFlowHnd);
can any please explain me how PKTDMA is fetching descriptors from RXFDQ and pushing onto RXQ without gRxFlowHnd explicity being given to routeInfo.
Thanks
RC Reddy