Hi Roland, This patchset adds support for the following enhanced atomic operations: - Masked atomic compare and swap - Masked atomic fetch and add
These operations enable using a smaller amount of memory when using multiple locks by using portions of a 64 bit value in an atomic operation. For some applications the memory savings are very significant. One example is fine grain lock implementations for huge data sets. In other cases, the benefit is the ability to update multiple fields with a single io operation. Vladimir Sokolovsky(2): IB/core: Add support for enhanced atomic operations mlx4/IB: Add support for enhanced atomic operations changes from V3: - patch #1: Add a new capability masked_atomic_cap instead of using IB_DEVICE_MASKED_ATOMIC - patch #2: Set props->masked_atomic_cap to IB_ATOMIC_HCA for mlx4 Note that all drivers clear props with memset except amso1100. So, no need to define props->masked_atomic_cap to NONE for all drivers. I will send a patch that fixes amso1100 issue. Regards, Vladimir -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html