Xiaoyun Li 657cd1370d raw/ntb: fix write memory barrier
All buffers and ring info should be written before tail register update.
This patch relocates the write memory barrier before updating tail register
to avoid potential issues.

Fixes: 11b5c7daf019 ("raw/ntb: add enqueue and dequeue functions")
Cc: stable@dpdk.org

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
2020-01-20 09:58:43 +01:00
..
2020-01-16 17:10:36 +01:00
2020-01-20 09:58:43 +01:00
2020-01-14 00:09:33 +01:00
2020-01-13 23:28:00 +01:00
2020-01-17 19:45:23 +01:00