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.

Packet Accelerator questions

Hi

I have a few questions about the C66x PA:

1) In PA LLD function Pa_addMac(), structure paRouteInfo_t has member mRouteIndex.  What is multi-queue routing?

2) The 5th parameter of Pa_addMac() is of type paRouteInfo_t and defines 'where to send a subsequent fail'.  What is meant by 'a subsequent fail'?

3) Consider the case where the L2 Classify engine has two MAC address entries, and each is linked to separate L3 and L4 Classify Engine entries.  If the received packet does not match the first set of entries I want parsing to continue with the second set of entries.  Will this always happen or do I need to set certain values in the first set to ensure continued parsing with the second set?

BR

David

  • Hi David, 

    Let's answer these one by one. 

    1. The multi-route is basically saying that is where you can define your packet and what route it should go to, so you have multiple different queue endpoints it can end up at. Basically, you can program it to end up at the Security accelerator before you send it out to the network, or you can use it to generate checksums, etc. 

    2. I'm assuming you're talking about nFailInfo ? That's basically a all NULL or zeroed out value that says to toss the packet since it doesn't fit the requirements of being a  "good" packet and to toss it out. Once the packet fails, I think it's talking about where to send the next series of packets should one fail? I'll confirm that once I can. 

    3. The packet will be continued on to the next entry without any certain values. So, if it needs to go from L2 to L4, it will make it to that engine automatically. 

    Regards, 

    Kat Kelsch