> -----Original Message-----
> From: dev [mailto:[email protected]] On Behalf Of Jerin Jacob
> Sent: Wednesday, December 21, 2016 14:55
> To: [email protected]
> Cc: [email protected]; [email protected]; Hemant
> Agrawal <[email protected]>; [email protected];
> [email protected]; Jerin Jacob <[email protected]>
> Subject: [dpdk-dev] [PATCH v4 4/6] eventdev: implement PMD registration
> functions
> 
> This patch adds infrastructure for registering the vdev or
> the PCI based event device.
> 
> Signed-off-by: Jerin Jacob <[email protected]>
> Acked-by: Bruce Richardson <[email protected]>
> ---
>  lib/librte_eventdev/rte_eventdev.c           | 236
> +++++++++++++++++++++++++++
>  lib/librte_eventdev/rte_eventdev_pmd.h       | 111 +++++++++++++
>  lib/librte_eventdev/rte_eventdev_version.map |   6 +
>  3 files changed, 353 insertions(+)
> 

<snip>

> +
> +struct rte_eventdev *
> +rte_event_pmd_vdev_init(const char *name, size_t dev_private_size,
> +             int socket_id)

Isn't there any requirement to have a clean-up function corresponding to
rte_event_pmd_vdev_init?

> +{
> +     struct rte_eventdev *eventdev;
> +
> +     /* Allocate device structure */
> +     eventdev = rte_event_pmd_allocate(name, socket_id);
> +     if (eventdev == NULL)
> +             return NULL;
> +

<snip>

Regards,
Nipun

Reply via email to