-----Original Message----- > Date: Thu, 25 May 2017 23:37:43 +0530 > From: Nipun Gupta <[email protected]> > To: [email protected] > CC: [email protected], [email protected], > [email protected], [email protected], > [email protected], [email protected], Nipun Gupta > <[email protected]> > 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 <[email protected]> > --- > +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

