From: Nipun Gupta Date: Sat, 8 Feb 2020 04:50:19 +0000 (+0530) Subject: event/dpaa2: set number of order sequences X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5df2c07d7eeecd0cd13155f20aabc264632e0cde;p=dpdk.git event/dpaa2: set number of order sequences This patch sets the number of atomic ordered sequences supported by the driver. Fixes: dbf63bd43afa ("event/dpaa2: support ordered queue") Cc: stable@dpdk.org Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index d71361666c..1833d659d8 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -479,6 +479,8 @@ dpaa2_eventdev_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id, RTE_SET_USED(queue_id); queue_conf->nb_atomic_flows = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS; + queue_conf->nb_atomic_order_sequences = + DPAA2_EVENT_QUEUE_ORDER_SEQUENCES; queue_conf->schedule_type = RTE_SCHED_TYPE_PARALLEL; queue_conf->priority = RTE_EVENT_DEV_PRIORITY_NORMAL; }