This series comes to optimize both mlx4 and mlx5 as some follow-up of previous barrier series that was already merged. The first patch enables an optimized code on X86 where spinlock can serve also as a fence, it is used in downstream patches by mlx4 and mlx5 patches. Next 2 patches are optimizing of current code to prevent degradation in mlx4 and to grub some improvement in mlx5. Pull request was sent: https://github.com/linux-rdma/rdma-core/pull/95 Jason Gunthorpe (1): verbs: Add mmio_wc_spinlock barrier Yishai Hadas (2): mlx4: Optimize post_send barriers mlx5: Optimize post_send barriers providers/mlx4/qp.c | 19 +++++++------------ providers/mlx5/mlx5.c | 2 +- providers/mlx5/qp.c | 7 ++++--- util/udma_barrier.h | 15 +++++++++++++++ 4 files changed, 27 insertions(+), 16 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html