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.

problem SRIO and NDK

Hi,

I am having problem making SRIO and NDK work together.
Basically I added parts from NDK example to SRIO one and made sure that network works (udp echo and ping). but if I try to use them together one of the drivers fails.
If I initialize network and then start SRIO driver I get "Error: Inserting memory region 0, Error code : -135"
If I start SRIO first then it works until network task starts.It seems my QMSS/CPPI/PA configuration is not right but I don't get which part is at fault.
Is there any example project or configuration of working srio and ndk?
I am using c6678 evaluation board, ndk_2_21_01_38, pdk_C6678_1_1_1_4
I attached project.
Thank you,0083.SRIO_Ethernet.zip

  • Hello,

    What might be happening is that, when you initialize network first, in the Qmss init you are specifying maxnum desc.

    And when you try to insert same memory region  in the SRIO part of the code, it will give error as you are trying to initialize more desc than that is possible.

    So, if you increase the maxnum desc, then the problem should go away. Please try this and let me know if problem still persists.

    Regards,

    Kishore.

  • Thank for your response

    I increase the maxnum desc But problem still remain.

    I ask to you. Is there any example project by SRIO and NDK?

    If possable I hope to project.