[dpdk-dev] [PATCH 12/20] event/dpaa2: add configuration functions

Jerin Jacob jerin.jacob at caviumnetworks.com
Wed May 31 17:20:23 CEST 2017


-----Original Message-----
> Date: Thu, 25 May 2017 23:37:43 +0530
> From: Nipun Gupta <nipun.gupta at nxp.com>
> To: dev at dpdk.org
> CC: hemant.agrawal at nxp.com, jerin.jacob at caviumnetworks.com,
>  harry.van.haaren at intel.com, bruce.richardson at intel.com,
>  gage.eads at intel.com, shreyansh.jain at nxp.com, Nipun Gupta
>  <nipun.gupta at nxp.com>
> Subject: [PATCH 12/20] event/dpaa2: add configuration functions
> X-Mailer: git-send-email 1.9.1
> 
> This patch adds all the configuration API's for DPAA2 eventdev
> including device config, start, stop & port and queue
> related API's
> 
> Signed-off-by: Nipun Gupta <nipun.gupta at nxp.com>
> ---
> +static void
> +dpaa2_eventdev_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id,
> +			      struct rte_event_queue_conf *queue_conf)
> +{
> +	PMD_DRV_FUNC_TRACE();
> +
> +	RTE_SET_USED(dev);
> +	RTE_SET_USED(queue_id);
> +	RTE_SET_USED(queue_conf);
> +
> +	queue_conf->nb_atomic_flows = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS;
> +	queue_conf->nb_atomic_order_sequences = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS;
> +	queue_conf->event_queue_cfg = RTE_EVENT_QUEUE_CFG_ALL_TYPES;

If RTE_EVENT_QUEUE_CFG_ALL_TYPES is supported then add
RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES in rte_event_dev_info.event_dev_cap


More information about the dev mailing list