[dpdk-dev] [PATCH v3 2/6] eventdev: define southbound driver interface

Bruce Richardson bruce.richardson at intel.com
Mon Dec 19 16:50:07 CET 2016


On Sun, Dec 18, 2016 at 07:51:31PM +0530, Jerin Jacob wrote:
> Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> ---
>  lib/librte_eventdev/rte_eventdev.h     |  38 +++++
>  lib/librte_eventdev/rte_eventdev_pmd.h | 291 +++++++++++++++++++++++++++++++++
>  2 files changed, 329 insertions(+)
>  create mode 100644 lib/librte_eventdev/rte_eventdev_pmd.h
> 
<snip>
> +
> +/**
> + * Release resources allocated by given event queue.
> + *
> + * @param queue_id
> + *   Event queue index
> + *
> + */
> +typedef void (*eventdev_queue_release_t)(uint8_t queue_id);
> +

Missing an eventdev pointer here too, otherwise you can't use the queue
index to find the queue.

/Bruce



More information about the dev mailing list