The IA32 memory model guarantees that all writes are seen in the program order. Also, any access to the uncacheable memory flushes the store buffers. As the consequence, SFENCE instruction is (almost) never needed, in particular, it is not needed to ensure the correct order of updates as seen by a PCIe device. Use atomic_thread_fence_rel() instead of wb() to only emit compiler barriers on x86 there. Other architectures get the right barrier instruction as well. Reviewed by: hselasky Sponsored by: Mellanox Technologies MFC after: 1 week |
||
---|---|---|
.. | ||
mlx5_core | ||
mlx5_en | ||
mlx5_ib | ||
cq.h | ||
device.h | ||
diagnostics.h | ||
doorbell.h | ||
driver.h | ||
fs.h | ||
mlx5_ifc.h | ||
mlx5_rdma_if.h | ||
qp.h | ||
srq.h | ||
vport.h |