event/octeontx: fix missing enqueue SMP barrier
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 9 Jun 2017 13:16:03 +0000 (18:46 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Wed, 21 Jun 2017 13:33:23 +0000 (15:33 +0200)
commit6ac67eb3b6b66a73853d6b934f6b3e7b4839e225
tree63878a9083facf5ba0fce598f27d671333af404e
parent520a12b58dc82555c29ed4ce6ebf05e0369d8b4d
event/octeontx: fix missing enqueue SMP barrier

Typically RTE_EVENT_OP_NEW issued by the producer
lcore. To reflect the write changes issued by the
producer lcore on worker lcore, an SMP write barrier
is required on producer enqueue. Fixing the missing
rte_smp_wmb() on enqueue with RTE_EVENT_OP_NEW.

Fixes: f10d322eff76 ("event/octeontx: support worker enqueue")
Cc: stable@dpdk.org
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Gage Eads <gage.eads@intel.com>
drivers/event/octeontx/ssovf_worker.c