eventdev: fix MP/MC tail updates in event ring
authorMattias Rönnblom <hofors@lysator.liu.se>
Tue, 3 Apr 2018 08:19:03 +0000 (10:19 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 16 Apr 2018 08:10:27 +0000 (10:10 +0200)
commit463dee906eeee3b2ed1715930083e2be90578de8
treedbd4aa3475f26c5fc3165031a828630e72860ae5
parent8384f0e039eae47cb1b951b2db41400a80fbaeb7
eventdev: fix MP/MC tail updates in event ring

rte_event_ring enqueue and dequeue tail updates were hardcoded for a
SC/SP configuration.

Fixes: dc39e2f359b5 ("eventdev: add ring structure for events")
Cc: stable@dpdk.org
Signed-off-by: Mattias Rönnblom <hofors@lysator.liu.se>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eventdev/rte_event_ring.h