From 5df2c07d7eeecd0cd13155f20aabc264632e0cde Mon Sep 17 00:00:00 2001 From: Nipun Gupta Date: Sat, 8 Feb 2020 10:20:19 +0530 Subject: [PATCH] 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 --- drivers/event/dpaa2/dpaa2_eventdev.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.20.1