mempool/octeontx: fix improper memory barrier
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Mon, 8 Jan 2018 04:40:43 +0000 (10:10 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 12 Jan 2018 17:24:47 +0000 (18:24 +0100)
commitb6f26c9db26482d0e8c004b138aa72bdf5f6c975
treef90bc45cb0fbe2e4cdad6ce6e2248edfa0f50522
parent704e657beaa64239a92f792f2514fb6fa5e2013c
mempool/octeontx: fix improper memory barrier

Use smp barrier instead of IO barrier when sending mbox request as the
write has to be reflected between cores not IO devices.

Fixes: 6da9d24574db ("event/octeontx: add mailbox support")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
drivers/mempool/octeontx/octeontx_mbox.c