diff mbox series

event/dpaa2: set number of order sequeuences

Message ID 20200208045019.26829-1-nipun.gupta@nxp.com
State Accepted
Commit 5df2c07d7eeecd0cd13155f20aabc264632e0cde
Headers show
Series event/dpaa2: set number of order sequeuences | expand

Commit Message

Nipun Gupta Feb. 8, 2020, 4:50 a.m. UTC
This patch sets the number of atomic ordered sequeuences
supported by the driver

Fixes: dbf63bd43afa ("event/dpaa2: support ordered queue")
Cc: stable@dpdk.org

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>

---
 drivers/event/dpaa2/dpaa2_eventdev.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.17.1

Comments

Hemant Agrawal Feb. 13, 2020, 9:38 a.m. UTC | #1
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Nipun Gupta Feb. 13, 2020, 10:14 a.m. UTC | #2
Hi Jerin,

This patch (bug fix) is required for RC3.
Do you have any comments/concerns on this?

Thanks,
Nipun

> -----Original Message-----

> From: Hemant Agrawal <hemant.agrawal@nxp.com>

> Sent: Thursday, February 13, 2020 3:09 PM

> To: Nipun Gupta <nipun.gupta@nxp.com>; dev@dpdk.org

> Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; stable@dpdk.org;

> Nipun Gupta <nipun.gupta@nxp.com>

> Subject: RE: [PATCH] event/dpaa2: set number of order sequeuences

> 

> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Jerin Jacob Feb. 15, 2020, 6:50 a.m. UTC | #3
On Thu, Feb 13, 2020 at 3:44 PM Nipun Gupta <nipun.gupta@nxp.com> wrote:
>

> Hi Jerin,

>

> This patch (bug fix) is required for RC3.

> Do you have any comments/concerns on this?


No.

Applied to dpdk-next-eventdev/master. Thanks.



> Thanks,

> Nipun

>

> > -----Original Message-----

> > From: Hemant Agrawal <hemant.agrawal@nxp.com>

> > Sent: Thursday, February 13, 2020 3:09 PM

> > To: Nipun Gupta <nipun.gupta@nxp.com>; dev@dpdk.org

> > Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; stable@dpdk.org;

> > Nipun Gupta <nipun.gupta@nxp.com>

> > Subject: RE: [PATCH] event/dpaa2: set number of order sequeuences

> >

> > Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
diff mbox series

Patch

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;
 }