Hello.
I am trying to setup the following PA routing:
1) Packets with a destination MAC address of the evm board, route to core 0 queue.
2) All other packets, route to core 1 queue.
I am able to setup the first route to specifically filter on MAC address, but I an not receiving all other packets on core 1.
I'm using a single Add_MACAddress rule setup by core 0 (using the PA Multicore example as a template) as follows (MAC Address of the evm is 00:01:02:03:04:05):
rxQInfo = Qmss_getQueueNumber (gRxQHnd[CORE0]);
ethInfo.src[0] = 0x00;
ethInfo.src[1] = 0x00;
ethInfo.src[2] = 0x00;
ethInfo.src[3] = 0x00;
ethInfo.src[4] = 0x00;
ethInfo.src[5] = 0x00;
ethInfo.dst[0] = 0x00;
ethInfo.dst[1] = 0x01;
ethInfo.dst[2] = 0x02;
ethInfo.dst[3] = 0x03;
ethInfo.dst[4] = 0x04;
ethInfo.dst[5] = 0x05;
ethInfo.vlan = 0;
ethInfo.ethertype = 0x0800;
ethInfo.mplsTag = 0;
ethInfo.inport = 0;
routeInfo.dest = pa_DEST_HOST;
routeInfo.flowId = (uint8_t)Cppi_getFlowId(gRxFlowHnd[CORE0]);
routeInfo.queue = rxQInfo.qNum;
routeInfo.mRouteIndex = pa_NO_MULTI_ROUTE;
routeInfo.swInfo0 = 0;
routeInfo.swInfo1 = 0;
routeInfo.customType = 0;
routeInfo.customIndex = 0;
routeInfo.pktType_emacCtrl = 0;
routeInfo.pCmd = NULL;
rxQInfo = Qmss_getQueueNumber (gRxQHnd[CORE1]);
nFailInfo.dest = pa_DEST_HOST;
nFailInfo.flowId = (uint8_t)Cppi_getFlowId(gRxFlowHnd[CORE1]);
nFailInfo.queue = rxQInfo.qNum;
nFailInfo.mRouteIndex = 0;
nFailInfo.swInfo0 = 0;
nFailInfo.swInfo1 = 0;
nFailInfo.customType = 0;
nFailInfo.customIndex = 0;
nFailInfo.pktType_emacCtrl = 0;
nFailInfo.pCmd = NULL;
cmdReplyInfo.dest = pa_DEST_HOST;
cmdReplyInfo.replyId = 0;
cmdReplyInfo.queue = 0;
cmdReplyInfo.flowId = 0;
I assume I've just not understood how the fail route works.
Can anyone help?
Thanks.