[dpdk-dev] [PATCH] event/dpaa2: set number of order sequeuences
Nipun Gupta
nipun.gupta at nxp.com
Sat Feb 8 05:50:19 CET 2020
This patch sets the number of atomic ordered sequeuences
supported by the driver
Fixes: dbf63bd43afa ("event/dpaa2: support ordered queue")
Cc: stable at dpdk.org
Signed-off-by: Nipun Gupta <nipun.gupta at nxp.com>
---
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 d71361666..1833d659d 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.17.1
More information about the dev
mailing list