git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc7b73e
)
event/dpaa2: fix timeout ticks
author
Nipun Gupta
<nipun.gupta@nxp.com>
Thu, 27 Jun 2019 09:36:04 +0000
(15:06 +0530)
committer
Jerin Jacob
<jerinj@marvell.com>
Wed, 3 Jul 2019 04:55:37 +0000
(06:55 +0200)
Correct timeout to tick conversion.
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
patch
|
blob
|
history
diff --git
a/drivers/event/dpaa2/dpaa2_eventdev.c
b/drivers/event/dpaa2/dpaa2_eventdev.c
index
8d168b0
..
926b7ed
100644
(file)
--- 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;
}