Recently we purchased connect-IB cards for our new project, and deployed our code base which uses atomic compare and swap operations. Surprisingly the software failed to complete atomic operation. For years we have used the same software successfully on Connect-X3 and mlx4 drivers.
The ibv_post_send call fails with error 22 (EINVAL). Digging little further in to code of driver, it appears that atomic operations are only supported for big endian machines for connect-IB. We are using little endian hardware.
Has anyone else experienced this issue, and the limitation of support for big endian machine only. Is there any workaround that can move us past this issue?
We are using Mellanox OFED 2.4.
Thanks,
Anal Patel