patches for DPDK stable branches
 help / color / mirror / Atom feed
* Re: [dpdk-stable] [PATCH] event/dpaa2: fix to return correct value for timeout ticks
@ 2019-07-01  4:42 Jerin Jacob Kollanukkaran
  0 siblings, 0 replies; 2+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-07-01  4:42 UTC (permalink / raw)
  To: Hemant Agrawal, dev; +Cc: Nipun Gupta, stable

> -----Original Message-----
> From: Hemant Agrawal <hemant.agrawal@nxp.com>
> Sent: Thursday, June 27, 2019 3:06 PM
> To: dev@dpdk.org
> Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Nipun Gupta
> <nipun.gupta@nxp.com>; stable@dpdk.org
> Subject: [EXT] [PATCH] event/dpaa2: fix to return correct value for timeout
> ticks
> 
> 
> ----------------------------------------------------------------------
> From: Nipun Gupta <nipun.gupta@nxp.com>
> 
> Fixes: 0ce3ce7c275c ("event/dpaa2: add configuration functions")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>

Empty git comment is not allowed. Added the following git comment.
"Correct timeout to tick conversion."

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-stable] [PATCH] event/dpaa2: fix to return correct value for timeout ticks
@ 2019-06-27  9:36 Hemant Agrawal
  0 siblings, 0 replies; 2+ messages in thread
From: Hemant Agrawal @ 2019-06-27  9:36 UTC (permalink / raw)
  To: dev; +Cc: jerinj, Nipun Gupta, stable

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

Fixes: 0ce3ce7c275c ("event/dpaa2: add configuration functions")
Cc: stable@dpdk.org

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
---
 drivers/event/dpaa2/dpaa2_eventdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c
index 8d168b028..926b7edd8 100644
--- a/drivers/event/dpaa2/dpaa2_eventdev.c
+++ b/drivers/event/dpaa2/dpaa2_eventdev.c
@@ -640,7 +640,7 @@ dpaa2_eventdev_timeout_ticks(struct rte_eventdev *dev, uint64_t ns,
 	EVENTDEV_INIT_FUNC_TRACE();
 
 	RTE_SET_USED(dev);
-	*timeout_ticks = ns * scale;
+	*timeout_ticks = ns / scale;
 
 	return 0;
 }
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-01  4:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-01  4:42 [dpdk-stable] [PATCH] event/dpaa2: fix to return correct value for timeout ticks Jerin Jacob Kollanukkaran
  -- strict thread matches above, loose matches on Subject: below --
2019-06-27  9:36 Hemant Agrawal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).