J742S2XH01EVM: J742S2

Part Number: J742S2XH01EVM

Tool/software:

Hello,

I am working on J742S2 target.

My question is :

- Can we increase the number of static end-points  "RPMessage_MAX_RESERVED_ENDPOINT".


- The value is 100 and I need to increase is to 200.

- What is the impact of increasing it.

  • Hi Ali,

    I am out of office due to the TI US holiday for Thanksgiving. I will get back to you next week once I am back in office. 

    regards

    Suman

  • Hi Ali,

    - Can we increase the number of static end-points  "RPMessage_MAX_RESERVED_ENDPOINT".

    I am assuming you are referring to the macro in the PDK packages/ti/drv/ipc/src/ipc_priv.h file?

    The PDK IPC driver code uses a total of MAXENDPOINTS (256) out of which RPMessage_MAX_RESERVED_ENDPOINT (100) are the reserved end-points that could be requested using exact Id.

    Is there a reason you want to increase this? This is typically used to allocate/assign specific end-points. Do you have more than 100 such end-points?

    - What is the impact of increasing it.

    Are you going to increase MAXENDPOINTS as well, or will retain that as is?

    Main impact will be the memory needed for the end-point objects. This memory needs to be provided by the application s/w.

    regards

    Suman

  • Hi Suman,

    Thanks for your reply.

    Yes, I am referring to the macro in packages/ti/drv/ipc/src/ipc_priv.h .

    My purpose here to increase the reserverd end points and decrease the poll of undefined EPs.

    I intend only to increase RPMessage_MAX_RESERVED_ENDPOINT to 200 without increasing the MAXENDPOINTS.

    As per my understanding "Correct me If I am wrong with this", If I am going to change RPMessage_MAX_RESERVED_ENDPOINT there would be no effect only the non-reserved EPs pool will be decreased.



  • Hi Ali,

    My purpose here to increase the reserverd end points and decrease the poll of undefined EPs.

    This is in PDK IPC, which would be used by TIOVX at the upper layers. Do you have your own s/w stack layers sitting on top of PDK IPC directly?

    As per my understanding "Correct me If I am wrong with this", If I am going to change RPMessage_MAX_RESERVED_ENDPOINT there would be no effect only the non-reserved EPs pool will be decreased.

    Correct, only the s/w usage of how you create the RPMessage end-points.

    I am not sure if you really have that many end-points. I have only ever seen couple of 10's of end-points maximum used.

    regards

    Suman