event/dsw: fix enqueue burst return value
authorYuri Chipchev <yuric@marvell.com>
Wed, 6 May 2020 20:18:37 +0000 (23:18 +0300)
committerJerin Jacob <jerinj@marvell.com>
Thu, 14 May 2020 07:15:37 +0000 (09:15 +0200)
commit1c4975d6dfa244cf52a2836ca267ba4a7b3ec75e
tree8fbb93801277223443baadcb94945432297db34b
parent2e9088556613ed03a15fc08e866bc96475269c0f
event/dsw: fix enqueue burst return value

The returned number from rte_event_enqueue_*()
wouldn't include events marked with RTE_EVENT_OP_RELEASE.

Fixes: 1c8e3caa3 ("event/dsw: add event scheduling and device start/stop")
Cc: stable@dpdk.org
Signed-off-by: Yuri Chipchev <yuric@marvell.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
Acked-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
drivers/event/dsw/dsw_event.c