The main use case for this was to add functionality to retrieve the queue name, but since get_name() is not fast path functionality it was expanded into odp_queue_info() to also retrieve other info and provide symmetry with the existing odp_pool_info(), odp_timer_pool_info(), odp_shm_info() etc. APIs
/carl From: EXT Bill Fischofer [mailto:[email protected]] Sent: Monday, November 09, 2015 11:45 AM To: Wallen, Carl (Nokia - FI/Espoo) <[email protected]> Cc: LNG ODP Mailman List <[email protected]> Subject: Re: [lng-odp] [API-NEXT PATCH 0/3] retrieve queue information Petri can confirm that the API is reasonable, but this seems a useful routine that provides symmetry with the existing odp_pool_info() API. For this series: Reviewed-by: Bill Fischofer <[email protected]> On Mon, Nov 9, 2015 at 1:55 AM, Carl Wallen <[email protected]> wrote: New api function: odp_queue_info() to retrieve queue name, type and params. Carl Wallen (3): api: queue: add odp_queue_info() function to retrieve queue information linux-generic: queue: add odp_queue_info() function validation: queue: api validation tests for odp_queue_info() include/odp/api/queue.h | 24 ++++++++++++++++ platform/linux-generic/odp_queue.c | 40 ++++++++++++++++++++++++++ test/validation/queue/queue.c | 57 ++++++++++++++++++++++++++++++++++++++ test/validation/queue/queue.h | 1 + 4 files changed, 122 insertions(+) -- 2.1.4 _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
