eventdev: fix resetting software timer
authorDan Gora <dg@adax.com>
Tue, 22 May 2018 00:14:14 +0000 (21:14 -0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 22 May 2018 17:39:35 +0000 (19:39 +0200)
commit519d8efa1cf8d500a9d3e05563cbf09a9af3c783
treed9b640721375ffe7bf55d214d29634743b8e32a2
parent5f30035740640d3b401fdb37561872fe8a5eede4
eventdev: fix resetting software timer

Fix the call to rte_timer_reset_sync() in sw_event_timer_cb().  The
second parameter is the number of ticks, the third is the timer type.

Fixes: 6750b21bd6af ("eventdev: add default software timer adapter")

Signed-off-by: Dan Gora <dg@adax.com>
Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
lib/librte_eventdev/rte_event_timer_adapter.c