I am currently writing an ODP application which should terminate gracefully and therefore has to release all obtained ressources. So far I am struggling with releasing scheduled ODP queues (ODP_QUEUE_TYPE_SCHED).
Despite calling odp_queue_destroy, when the application calls odp_term_global(), I get the follwoing error:
> odp_queue.c:171:odp_queue_term_global():Not destroyed queue: 1-pktio_inq_def
When starting the application a second time it fails with the following message, most likely because some resscources requested have not been released during the first program execution:
> nadk_eth_setup_rx_vq 881-ERR-Error in setting the rx flow: ErrorCode = -5
My current findings are:
So currently my questions are:
Thank you in advance, Clemens
Is there problem if the odp_pktio application is used?
Is there problem for testing of this application?
The NXP infocenter contains only description for the odp_pktio application.
https://freescale.sdlproducts.com/LiveContent/web/ui.xql?action=html&resource=publist_home.html
Create service request for this problem:
https://community.freescale.com/docs/DOC-329745
You can also send this request to NXP Professional Services. Look at the following page:
http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Forgot to mention: When the application terminates at the first run, I get the following error message:
odp_init.c:144:odp_finish():odp_finish
vfio_disconnect_container 119-ERR-UNSET Container API Failed with ERRNO = 16